Professional UI Solutions
Site Map   /  Register
 
 

Forum

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 do I make submenus that are a command too? Collapse All
Subject Author Date
Jos Smit Aug 28, 2008 - 3:36 AM

I want to make submenus that, at the same time, can be clicked like a normal command entry. In MS-Office one sees this too, for bullets, when clicked the default bullet is used or when opened one can choose another bullet.


With normal submenus that are inserted with CExtPopupMenuWnd::ItemInsertSpecPopup() this is not possible because there is no command associated with it.


So I suppose the solution lies in adding a menu item with CExtPopupMenuWnd::ItemInsertCommand() that is able to look like a submenu and opens when hovered like a submenu.


Has anyone done this before and can you tell me how it’s done?


Thanks,


Jos Smit