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 add context menu(with toolbar icons and ComboBoxes) to dialog? Collapse All
Subject Author Date
Timofey Smirnov Apr 16, 2008 - 8:49 AM

How to implement it in CMyDialog : public CExtNCW <CExtResizableDialog>?

Timofey Smirnov Apr 29, 2008 - 5:47 AM

How to enable icon in popup submenu of context menu?

Technical Support Apr 30, 2008 - 10:31 AM

The CExtPopupMenuWnd::ItemSetPopupIcon() method assigns an icon to a popup sub menu item. You can invoke it while constructing a CExtPopupMenuWnd tree which is displayed as a context menu. You can also assign icons to popup sub menu items in the popup menus displayed from the menu bar or toolbar buttons and for any built-in Prof-UIS menus. You can handle CExtPopupMenuWnd::g_nMsgPrepareOneMenuLevel or CExtPopupMenuWnd::g_nMsgPrepareMenu registered messages as it is demonstrated in the ProfUIS_Controls sample. These messages are sent by each popup menu before it appears on the screen and allow you to modify popup menus dynamically.

Technical Support Apr 22, 2008 - 8:36 AM

This was discussed in this thread:

If you still have questions, please do not hesitate to contact us.