Professional User Interface Suite, Copyright FOSS Software Inc. Help Published with Permission.

Retrieves information for the procedure of resizing the button in the customize mode. Returns 0 if the button can not be resized. Returns -1 if the left side of the button can be dragged. Returns 1 if the right side of the button can be dragged.

virtual int GetInitialResizingStateH(
   CPoint point,
   int * p_nWidthMin = NULL,
   int * p_nWidthMax = NULL
);

Parameters

point
Mouse position in client coordinates of the toolbar.
p_nWidthMin
Pointer to the variable in which a minimum width of the button should be stored. The parameter can be set to NULL.
p_nWidthMax
Pointer to the variable in which the maximum width of the button should be stored. The parameter can be set to NULL.

See Also

CExtBarButton Overview | Class Members | Hierarchy Chart