CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 4 of 4
  1. #1
    Join Date
    Jul 2006
    Posts
    203

    capture mouse click,release event

    In a c++ application how to know mouse button(left/right) is clicked,pressed or release.

  2. #2
    Join Date
    Feb 2005
    Posts
    2,160

    Re: capture mouse click,release event

    "C++ application" is vague in this context. In a Win32 application, the message queue will receive WM_RBUTTONDOWN and WM_LBUTTONDOWN messages for those events.

  3. #3
    Join Date
    Mar 2009
    Location
    Riga, Latvia
    Posts
    128

    Re: capture mouse click,release event

    Say, I have a dialog with a button. How and where do I get control to my application, when the button is already pushed but not yet released?

  4. #4
    Join Date
    Jul 2006
    Posts
    203

    Re: capture mouse click,release event

    Thanks. Can you please give any example. I want to capture mouse events in an addin(outlook)

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