Page 1 of 1

api and mousestate

Posted: Wed Mar 29, 2006 3:44 pm
by BabyBacon
Hello people!

Cant find how to receive the mousestate with api, I want to know when a singel-click, double-click etc accours. this must be possbile, right?

And now when I allready got you reading this thread can I ask an other thing too :D
How can I receive the mousestate ( like a click etc) but not pass it throu to the operating system, (this may not be possible), so I only get the click but nothing happens to the active window.

btw I know that it is possible if you got a window, but I wont, it dont even have a window, just want to get it and nothing else to happen. Maybe this can be made with keyboard too?

Happy RabbitDay!

Posted: Tue Jun 20, 2006 8:11 pm
by Hroudtwolf
If you do a mouseaction on a parentwindow or a childwindow which haves a #CS_DBLCLKS style, your callback will retrieve following messages:

#WM_CAPTURECHANGED
#WM_LBUTTONDBLCLK
#WM_LBUTTONDOWN
#WM_LBUTTONUP
#WM_MBUTTONDBLCLK
#WM_MBUTTONDOWN
#WM_MBUTTONUP
#WM_MOUSEACTIVATE
#WM_MOUSEMOVE
#WM_MOUSEWHEEL
#WM_NCHITTEST
#WM_NCLBUTTONDBLCLK
#WM_NCLBUTTONDOWN
#WM_NCLBUTTONUP
#WM_NCMBUTTONDBLCLK
#WM_NCMBUTTONDOWN
#WM_NCMBUTTONUP
#WM_NCMOUSEMOVE
#WM_NCRBUTTONDBLCLK
#WM_NCRBUTTONDOWN
#WM_NCRBUTTONUP
#WM_RBUTTONDBLCLK
#WM_RBUTTONDOWN
#WM_RBUTTONUP