Solved

Mouse events

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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Folder Comparison 12 54
notReplace  challenge 53 142
only14 challenge 19 81
mapAB Challlenge 35 156
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: 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…
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.
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…

861 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