Simulating doubleclick
-
Currently I'm using mouse_event(MOUSEEVENTF_LEFTDOWN, 0, 0, 0, 0); mouse_event(MOUSEEVENTF_LEFTUP, 0, 0, 0, 0); mouse_event(MOUSEEVENTF_LEFTDOWN, 0, 0, 0, 0); mouse_event(MOUSEEVENTF_LEFTUP, 0, 0, 0, 0); I could easily do the same thing with SendInput() but my question is, is this the right way to simulate a doubleclick? -Jack
If things are as bad as they can be, you can be sure there'll be a brighter tomarrow.
-
Currently I'm using mouse_event(MOUSEEVENTF_LEFTDOWN, 0, 0, 0, 0); mouse_event(MOUSEEVENTF_LEFTUP, 0, 0, 0, 0); mouse_event(MOUSEEVENTF_LEFTDOWN, 0, 0, 0, 0); mouse_event(MOUSEEVENTF_LEFTUP, 0, 0, 0, 0); I could easily do the same thing with SendInput() but my question is, is this the right way to simulate a doubleclick? -Jack
If things are as bad as they can be, you can be sure there'll be a brighter tomarrow.