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 Tech Support » Dynamic main-frame menu Collapse All
Subject Author Date
Offer Har Jun 5, 2010 - 1:57 AM

Dear Support,



I would like to have the main menu be completely constructed at run-time and not from resource. Is this possible using Prof-UIS menus? Is there any example you can provide me?



Thanks,



Ron.

Technical Support Jun 7, 2010 - 1:31 AM

Please override the CExtMenuControlBar::_UpdateMenuBar() virtual method. The CExtMenuControlBar::_UpdateMenuBar() method takes the content of a menu bar from Win32 a menu tree. Your method should do the same using your menu description data structures. Please provide us with more information about how the menus are described in your app?