RE: [GD-Windows] mouse click in window
Brought to you by:
vexxed72
From: Andrew G. <And...@ho...> - 2001-11-30 09:58:40
|
> Is there an easy way to determine inside WM_LBUTTONDOWN whether a user > pressed the mouse button "inside" the window and not the title bar? Very easy, you shouldn't get them unless you have explicitly captured the mouse. WM_LBUTTONDOWN is a client area message, WM_NCLBUTTONDOWN is the message you receive if the user clicks on the title bar. If you've captured the mouse and received the message, the Y value of the provided point will be negative. Andrew Grant Hothouse Creations This email is covered by the following disclaimer, please read before accepting this email. http://www.hothouse.org/disclaimer/ |