Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

Mouse events

Posted on 2002-04-15
1
Medium Priority
?
174 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 400 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

Prep for the ITIL® Foundation Certification Exam

December’s Course of the Month is now available! Enroll to learn ITIL® Foundation best practices for delivering IT services effectively and efficiently.

Question has a verified solution.

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

Here is how to use MFC's automatic Radio Button handling in your dialog boxes and forms.  Beginner programmers usually start with a OnClick handler for each radio button and that's just not the right way to go.  MFC has a very cool system for handli…
Introduction: Hints for the grid button.  Nested classes, templated collections.  Squash that darned bug! Continuing from the sixth article about sudoku.   Open the project in visual studio. First we will finish with the SUD_SETVALUE messa…
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.
When cloud platforms entered the scene, users and companies jumped on board to take advantage of the many benefits, like the ability to work and connect with company information from various locations. What many didn't foresee was the increased risk…
Suggested Courses

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