c++ - Receive middle mouse click event -
I want to know how I can get a middle mouse clicked event in C ++. Is there any way to do this? If so, how can I apply it? I have read online that I can use WM_MBUTTONDOWN, although I am really unfamiliar with using it and I am told that it is not really a part of C.
WM_MBUTTONDOWN is defined as part of the Windows API. It's just an integer value that is recognized by the operating system. You can use C ++ to compile Windows applications, though the language does not matter in this case.
There is a message loop in a normal Windows application when a message is received from your application, you can decide what to do with it before returning it to handle the next application .
I recommend reading.
Comments
Post a Comment