Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
715
Need notification when Context Menu Popup window closes.
posted

Hi,

Is there a way to get notification when a popup menus window is closing?  I have a conflict between tooltips and a context menu right mouse click.  I get both the tooltip and the popup menu.  The tooltip shows up after the delay time expires (1 second in my case).  I set the context menu the following way:

 ultraToolbarsManager.SetContextMenuUltra(this, "MenuName");

 I want to be able to disable tooltips when the right mouse is pressed down and enable tooltips when the the context menu closes. (Or maybe a better way?)

Thanks

Rich 

 

  • 44743
    posted

    You can handle the AfterToolCloseup event and check the SourceControl on the event args. If it is not null, the menu which closed was a context menu for that control.