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 » CExtPopupMenuWnd disable sub popup menu Collapse All
Subject Author Date
Mac Will Nov 29, 2005 - 11:28 AM

Hi,


I am trying to disable an entire sub-popup menu.


 


In other words I would like to have a popup menu item still visible but greyed out and either all the items in the submenu greyed out or the sub menu just doesn’t pop-up.


 


Thanks


 


Mac

Mac Will Nov 30, 2005 - 8:06 AM

OK


So are you saying it is not possible to grey out a menu item that has a sub menu?  I have tried disabling all item in the submenu but it still didn’t disable the popup menu item?


 


Basically i need the equivalent to:


CMenu::EnableMenuItem


 


Thanks


Mac


P.S. For a Microsoft example of what I mean: Using Outlook 2003, if you select a folder from the ’folder list’ than select the ’Actions’ menu the ’Follow Up’ popup menu is greyed and the popup menu doesn’t appear.


 

Technical Support Dec 1, 2005 - 9:30 AM

Yes, currently our popup menu sub-items can be disabled only if they have completely disabled items in the entire menu sub tree. Nobody before asked about this. If it is critical for you, then we can make menu sub items to be manually disabled and provide you with the source code update.

Technical Support Nov 30, 2005 - 12:17 AM

Currently, a popup sub-menu becomes automatically disabled only if all the non-popup menu items in all its sub-tree menu levels are disabled. This design is consistent with all the popup menus we have come across in Microsoft applications so far. So, we would recommend you divert your attention from a particular popup menu item and focus on the command items which perform some specific actions.