Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
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