Solved

Mouse events

Posted on 2002-04-15
1
163 Views
Last Modified: 2013-11-20
How do i catch the WM_LBUTTONUP message, when i release the mouse button after i clicked in the client area, and released the mouse button outside the application window.

can my application message loop catch events that happen outside the window frame ?

TNX...
0
Comment
Question by:Ronnie_Shmuel
1 Comment
 
LVL 2

Accepted Solution

by:
manojbkumar earned 100 total points
ID: 6943995
call
SetCapture(); in WM_LBUTTONDOWN handler.Then u will get all subsequent mouse input.
Call ReleaseCapture() in your WM_LBUTTONDOWN  message handler
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Unix / Linux grid computing 5 147
zeroMAx challenge 20 87
noX challenge 17 91
how to use laptop or pad camera in vb.net windows application 2 50
Introduction: Ownerdraw of the grid button.  A singleton class implentation and usage. Continuing from the fifth article about sudoku.   Open the project in visual studio. Go to the class view – CGridButton should be visible as a class.  R…
Introduction: The undo support, implementing a stack. Continuing from the eigth article about sudoku.   We need a mechanism to keep track of the digits entered so as to implement an undo mechanism.  This should be a ‘Last In First Out’ collec…
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…

911 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

26 Experts available now in Live!

Get 1:1 Help Now