Joined
Last Seen
0 Reputation Points
Unknown Quality Score
No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
0 Endorsements
Ranked #107.55K
1 Posted Topic
Re: You can use SetCursorPos(X,Y) to move the mouse. I've done it for you: [CODE]#include "stdafx.h" int main(int argc, char* argv[]){ INPUT *buffer = new INPUT[3]; //allocate a buffer int X; int Y; X = 100; Y = 100; (buffer+1)->type = INPUT_MOUSE; (buffer+1)->mi.dx = 100; (buffer+1)->mi.dy = 100; (buffer+1)->mi.mouseData = 0; … |
The End.