CToolBarCtrl::SetButtonWidth
Visual Studio 2005
Sets the minimum and maximum button widths in the toolbar control.
BOOL SetButtonWidth( int cxMin, int cxMax );
Parameters
- cxMin
-
Minimum button width, in pixels. Toolbar buttons will never be narrower than this value.
- cxMax
-
Maximum button width, in pixels. If button text is too wide, the control displays it with ellipsis points.
This member function implements the behavior of the Win32 message TB_SETBUTTONWIDTH, as described in the Platform SDK.
Reference
CToolBarCtrl ClassHierarchy Chart
CToolBarCtrl::SetButtonInfo