Solved

Mouse events

Posted on 2002-04-15
1
165 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

Does Powershell have you tied up in knots?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Installing Microsoft R server on REDHAT or SUSE Linux 4 138
move a line in eclipse 3 103
Doc'in system (example?) BA 7 112
Detect file exist or not 3 158
In this article, I'll describe -- and show pictures of -- some of the significant additions that have been made available to programmers in the MFC Feature Pack for Visual C++ 2008.  These same feature are in the MFC libraries that come with Visual …
Introduction: Database storage, where is the exe actually on the disc? Playing a game selected randomly (how to generate random numbers).  Error trapping with try..catch to help the code run even if something goes wrong. Continuing from the seve…
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.

810 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