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 Tech Support » CExtComboBox Context Menu Collapse All
Subject Author Date
Andreas Spachtholz Feb 9, 2012 - 10:59 AM


I try to put my own ContextMenu to the CExtComboBox, but up to now I couldn’t find the correct place where to exchange the standard Context Menu with my own.

How can I do this?



Technical Support Feb 10, 2012 - 3:28 AM

The the WM_CONTEXTMENU message handler is the most correct place to show a context menu.
In particular UI design cases you may need to handle the right button click and context menu key and your show context in a special way in each of these cases.
But the WM_CONTEXTMENU message handler is enough in most cases.