|
Support
ActiveX / COM
Visual C++ / MFC
Customer Spotlight
Corporate Partners
Contact Sales
Call center available M-F 9:00 - 6:00 US Eastern Time. U.S. and Canada International Email |
Changing the Popup Menu Icon Size
Author: Mike Palmatier
Posted: February 2, 2006
Environment: Visual Basic 6.0
You can change the size of the icons that appear in popup menus
independently from the toolbar icon size. To do this the SetPopupIconSize method
is used. You simply specify the width and height of the icon size you wish to use in the popup menus. The only thing you need to do is
supply an icon of the size you want to display. If you do not supply a larger icon size, then the closest size icon to the one you are trying
to display will be "stretched" to the specified size.
CommandBars.Options.SetPopupIconSize 24, 24
|
