Professional UI Solutions
Site Map   /  Register


Please Log In to post a new message or reply to an existing one. If you are not registered, please register.

NOTE: Some forums may be read-only if you are not currently subscribed to our technical support services.

Forums » Prof-UIS General Discussion » How to set icon size Collapse All
Subject Author Date
yu js Nov 7, 2011 - 11:57 PM

How to set the icon size that on the toolbar and menu(left)


yu js Nov 15, 2011 - 5:07 AM

Thanks, I’m try again

Technical Support Nov 15, 2011 - 2:51 AM

Popup menus use the icons stored in the command manager. You should invoke the CExtCmdManager::CmdSetIcon() API to assign a new icon to a command. You can invoke the CExtCmdManager::CmdGetIconPtr() to get a pointer to the current icon of a command. Then you can invoke the CExtCmdIcon::Scale() API to scale the icon.

yu js Nov 14, 2011 - 7:16 AM

I want to change the size of Icons which on the left of menus,can change it dynamically?

Technical Support Nov 8, 2011 - 7:47 AM

You should create a toolbar resource with icons of the size you need. Then initialize your CExtToolControlBar toolbar from the toolbar resource.