Примечание
Для доступа к этой странице требуется авторизация. Вы можете попробовать войти или изменить каталоги.
Для доступа к этой странице требуется авторизация. Вы можете попробовать изменить каталоги.
Sets the size of the buttons in the toolbar control.
BOOL SetButtonSize(
CSize size
);
Параметры
- size
Width and height, in pixels, of the buttons.
Возвращаемое значение
Nonzero if successful; otherwise zero.
Заметки
The button size must always be at least as large as the bitmap size it encloses. This function must be called only before adding any bitmaps to the toolbar. If the application does not explicitly set the button size, it defaults to 24 by 22 pixels.
Пример
See the example for CToolBar::GetToolBarCtrl.
Требования
Header: afxcmn.h