Skip to main content
gamedev.net
🔒 Locked

getting mouse button state

Started by BungoMan85 May 20, 2003 at 12:12 AM 0 replies 150+ views
Original Post
BungoMan85
BungoMan85
im wondering if there are functions that get the state of the mouse buttons, much like GetKeyState and GetAsyncKeyState do for the keyboard. i dont want to use the WndProc to check for a WM_MOUSEDOWN (or whatever its actualy called) event. i need to be able to get the state of all mouse buttons no matter where the current focus is (inside or outside the program). Bungo!
Bungo!

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.