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.
Member | Description | |
uStructSize | Size of this structure in bytes, for versioning. Use the sizeof() macro to calculate this value. | |
uWidth | The width of the nudge tool brush. Default value is 20. | |
uHeight | The height of the nudge tool brush. Default value is 20. | |
uShape | 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. | |
bAutoDetect | 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.