Code for holding down right mouse button
I just have a quick question: how do you check in your window function if the right mouse button is being held down? The only solution I can come up with is as follows:
The only problem with this is that it only responds when the mouse moves (as it should). Is there any other way to check if the right mouse button being pressed (perhaps in a WM_TIMER message)? Many thanks in advance.
//do what you have to