CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Join Date
    May 1999
    Posts
    34

    How to close Popup-Menu ?

    How to close Popup-Menu ?

    Hi !

    I open a PopupMenu with TrackPopupMenu. Now I want to close this menu from my programm (without the user clicking anywhere. This is because the mouse has reached another menu for example). How can I close an open PopupMenu from the code ? I didn't find anything like "CloseMenu", and another call of TrackPopupMenu does nothing, when another Menu is opened. Please help !

    Regards

    Martin



  2. #2
    Join Date
    Apr 1999
    Posts
    12

    Re: How to close Popup-Menu ?

    DestroyMenu()


  3. #3
    Join Date
    May 1999
    Posts
    48

    Re: How to close Popup-Menu ?

    Use DestroyMenu(...)
    Sincerely, Mihai



Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured