Detecting mouse button down & up events on the system menu of form.
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2

Thread: Detecting mouse button down & up events on the system menu of form.

  1. #1
    Join Date
    Sep 2008
    Posts
    79

    Question Detecting mouse button down & up events on the system menu of form.

    How do I detect left mouse button down and up events on the 'Close' option of the system menu that appears when the mouse is clicked on the top left corner of a form?

  2. #2
    Join Date
    Jul 2001
    Location
    Sunny South Africa
    Posts
    11,074

    Re: Detecting mouse button down & up events on the system menu of form.

    This quite an odd request, as literally no one should right click on a system menu, usually. In any case have a look into these APIs :

    TrackPopupMenuEx
    GetSystemMenu
    GetWindowRect

Tags for this Thread

Posting Permissions

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


Azure Activities Information Page

Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center