Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Sets the size of toolbar menu buttons and their images.
static void __stdcall SetMenuSizes(
SIZE sizeButton,
SIZE sizeImage
);
Parameters
[in] sizeButton
Specifies the size of toolbar buttons, in pixels.[in] sizeImage
Specifies the size of toolbar images, in pixels.
Remarks
By default, menu buttons and their images have an undefined size.
Call the CMFCToolBar::GetMenuButtonSize method to determine the size of menu buttons and the CMFCToolBar::GetMenuImageSize method to determine the size of menu button images.
See the IEDemo and MSMoneyDemo samples for examples that use this method.
Requirements
Header: afxtoolbar.h