Click here to Skip to main content
15,887,822 members
Please Sign up or sign in to vote.
5.00/5 (1 vote)
See more:
Hi all!! I have a problem with catching mouse clicks on any window's title bar. I've sat a global mouse hook as shown here: Hooks and DLLs[]. Now I can catch all clicks except the clicks on window's title bar. Can anybody explain me what's the problem and how can I fix this? thank you in advance.
Posted
Updated 14-Jan-10 21:08pm
v2

A global mouse hook does not distinguish between clicks or a window's title bar and other clicks. I suspect an error in determining if a mouse was clicked.
 
Share this answer
 
forgotten to catch "WM_NCLBUTTONDOWN" message! thanks to all!! :)
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900