In a c++ application how to know mouse button(left/right) is clicked,pressed or release.
Printable View
In a c++ application how to know mouse button(left/right) is clicked,pressed or release.
"C++ application" is vague in this context. In a Win32 application, the message queue will receive WM_RBUTTONDOWN and WM_LBUTTONDOWN messages for those events.
Say, I have a dialog with a button. How and where do I get control to my application, when the button is already pushed but not yet released?
Thanks. Can you please give any example. I want to capture mouse events in an addin(outlook)