CToolBarCtrl::SetButtonWidth
Sets the minimum and maximum button widths in the toolbar control.
BOOL SetButtonWidth(
int cxMin,
int cxMax
);
Параметры
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.
Возвращаемое значение
Nonzero if successful; otherwise 0.
Заметки
This member function implements the behavior of the Win32 message TB_SETBUTTONWIDTH, as described in the Windows SDK.
Требования
Header: afxcmn.h