Mouse events
How do I detect when a mouse is moving on its X or Y axis? What are the (basic) different events for mouse movement and mouse clickage? (I''m not at home right now, so I don''t have access to my books and whatnot). Thanks alot!
The Light shine on you
The Light shine on you
What platform, language, and API are you using? Mouse input is rather platform-specific.
On Windows, you can look for WM_MOUSEMOVE messages in your window procedure or use GetCursorPos(). On Linux/XFree86, you can use XQueryPointer() or some other such function.
On Windows, you can look for WM_MOUSEMOVE messages in your window procedure or use GetCursorPos(). On Linux/XFree86, you can use XQueryPointer() or some other such function.
ReactOS - an Open-source operating system compatible with Windows NT apps and drivers
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement