Solved

Mouse events

Posted on 2002-04-15
1
161 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
Comment Utility
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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

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…
Have you tried to learn about Unicode, UTF-8, and multibyte text encoding and all the articles are just too "academic" or too technical? This article aims to make the whole topic easy for just about anyone to understand.
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 demonstrates how to create an example email signature rule for a department in a company using CodeTwo Exchange Rules. The signature will be inserted beneath users' latest emails in conversations and will be displayed in users' Sent Items…

762 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

13 Experts available now in Live!

Get 1:1 Help Now