• Welcome to PlanetSquires Forums.
 

Question about Menus

Started by Elias Montoya, March 02, 2008, 10:04:24 PM

Previous topic - Next topic

Elias Montoya


I have a menu in my dialog its the "Formatting" menu, one of few in top,
others are "File", "Edit", Etc... but i want to be able to call that same menu
when user right clicks in the surface of the dialog. Is it possible? If so, How?

Thanx. :)

Jose Roca

Get the handle of the menu with GetMenu; get the handle of the submenu with GetSubMenu; call TrackPopupMenu.

Elias Montoya

 Thanx jose, Ill give it a try.  :)