typedef struct tagDISPNUDGETOOLACTIONPROPS
{
L_UINT uStructSize;
L_UINT uWidth;
L_UINT uHeight;
L_UINT uShape;
L_BOOL bAutoDetect;
} DISPNUDGETOOLACTIONPROPS, *pDISPNUDGETOOLACTIONPROPS;
The DISPNUDGETOOLACTIONPROPS structure provides information about the nudge tool brush.
Size of this structure in bytes, for versioning. Use the sizeof() operator to calculate this value.
The width of the nudge tool brush. Default value is 20.
The height of the nudge tool brush. Default value is 20.
The shape of the nudge tool. Possible values are:
Value | Meaning |
---|---|
CONTAINER_NUDGETOOLSHAPE_RECTANGLE | [0] A rectangular brush. |
CONTAINER_NUDGETOOLSHAPE_ELLIPSE | [1] An elliptical brush. |
CONTAINER_NUDGETOOLSHAPE_SLASH | [2] A slash brush. |
CONTAINER_NUDGETOOLSHAPE_BACKSLASH | [3] A back slash brush. |
A flag that determines whether to make the nudge tool always expand the current region; or make it switch between expand and shrink based on the current mouse position.
Value | Meaning |
---|---|
TRUE | Make the nudge tool always expand the current region. |
FALSE | Make the nudge switch between expand and shrink based on the current mouse position. |
This structure is used by the LImageViewerCell::SetActionProperties and LImageViewerCell::GetActionProperties functions.