Export (0) Print
Expand All
MFC
Expand Minimize

CMFCToolBar::SetSizes

Specifies the sizes of buttons and images on all toolbars.

static void __stdcall SetSizes(
   SIZE sizeButton,
   SIZE sizeImage 
);

[in] sizeButton

The size of toolbar buttons, in pixels.

[in] sizeImage

The size of toolbar button images, in pixels.

The default size of toolbar buttons is 23x22 pixels. The default size of toolbar button images is 16x15 pixels.

Call the CMFCToolBar::GetImageSize method to retrieve the size of toolbar button images. Call the CMFCToolBar::GetButtonSize method to retrieve the size of toolbar buttons.

Header: afxtoolbar.h

Community Additions

ADD
Show:
© 2014 Microsoft