How to determine if a context menu is currently displayed (OR NOT)
This may seem wierd but I need to determine if a contextmenu is currently shown (or more precisely when it is not).
Background: I have a user control that creates a contextmenu. When I click on the user control I raise an event that the host app receives and in turn, calls the user control show method that shows the context menu. Within the user control, I need to determine if the menu is still "visible". If the user has clicked somewhere else on the host application form, the context menu goes away but I need the user control to determine that the context menu has indeed gone away. Checking the contextmenu.menuitems(0).visible property does not do the trick.
Any Suggestions? :confused: