Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you have been placed in read-only mode.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
Is there any API that allows me to retrieve mouse state? Not cursor position, but the presses/unpressed state of mouse buttons. Thanks.
If you are using MFC, look for PreTranslateMessage(MSG *pMsg) method and tries to catch messages such as WM_LBUTTONDOWN for mouse clicks. Hope it helps
PreTranslateMessage(MSG *pMsg)
WM_LBUTTONDOWN