Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- int x, y;
- POINT cursor;
- GetCursorPos(&cursor);
- x = cursor.x;
- y = cursor.y;
- mouse_event(MOUSEEVENTF_LEFTDOWN, x, y, 0, 0);
- mouse_event(MOUSEEVENTF_LEFTDOWN, x, y, 0, 0);
- Sleep(300);
- mouse_event(MOUSEEVENTF_LEFTUP, x, y, 0, 0);
- }
- }
Add Comment
Please, Sign In to add comment