'Modal' ContextMenu?

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I'd like to bring up a context menu and block execution until the user either
makes a selection or dismisses the menu. As in the Win32 TrackPopupMenu.

Another post indicated that I might actually be able to call TrackPopupMenu,
but I don't know where the 'handle' argument would come from. Does anyone
know how to do this or to otherwise achieve the same effect?
 
DrBonzo,

You can get the handle of a menu through the Handle property, and then
pass that to TrackPopupMenu.

Hope this helps.
 
Back
Top