Mouse Clicks With OO BaseCode
I was wondering how would you test for the event of a mouse click in the update Function in the OO Basecode. Like the way the keys does it.
Any help Would be Greatful
Ructions (NEWBIE)
test for the messages:
WM_MOUSEMOVE,
WM_LBUTTONDOWN,
WM_LBUTTONUP,
WM_LBUTTONDBLCLK,
WM_MBUTTONDOWN,
WM_MBUTTONUP,
WM_MBUTTONDBLCLK,
WM_RBUTTONDOWN,
WM_RBUTTONUP,
WM_RBUTTONDBLCLK,
WM_MOUSEMOVE gets the window position of the cursor, and the others are pretty self explainatory. L is left mouse button, M is the scroll ball, R is the right mouse button
Good Luck!
[edited by - Steve132 on March 4, 2004 10:42:12 PM]
WM_MOUSEMOVE,
WM_LBUTTONDOWN,
WM_LBUTTONUP,
WM_LBUTTONDBLCLK,
WM_MBUTTONDOWN,
WM_MBUTTONUP,
WM_MBUTTONDBLCLK,
WM_RBUTTONDOWN,
WM_RBUTTONUP,
WM_RBUTTONDBLCLK,
WM_MOUSEMOVE gets the window position of the cursor, and the others are pretty self explainatory. L is left mouse button, M is the scroll ball, R is the right mouse button
Good Luck!
[edited by - Steve132 on March 4, 2004 10:42:12 PM]
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement