Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
100% Quality Score
Upvotes Received
1
Posts with Upvotes
1
Upvoting Members
1
Downvotes Received
0
Posts with Downvotes
0
Downvoting Members
0
0 Endorsements
Ranked #72.8K
~5K People Reached
Favorite Forums
Favorite Tags
c++ x 1
c x 1

2 Posted Topics

Member Avatar for alex130

:cry: :lol: have a try by following int ix,iy; ix=GetSystemMetrics(SM_CXSCREEN); iy=GetSystemMetrics(SM_CYSCREEN); INPUT *buffer = new INPUT[3]; //allocate a buffer buffer->type = INPUT_MOUSE; buffer->mi.dx = 190*65535/ix; buffer->mi.dy = 100*65535/iy; buffer->mi.mouseData = 0; buffer->mi.dwFlags = (MOUSEEVENTF_ABSOLUTE | MOUSEEVENTF_MOVE); buffer->mi.time = 0; buffer->mi.dwExtraInfo = 0; (buffer+1)->type = INPUT_MOUSE; (buffer+1)->mi.dx = 190*65535/ix; (buffer+1)->mi.dy = …

Member Avatar for uglinho
0
5K
Member Avatar for oujmjyu
Member Avatar for oujmjyu
1
354

The End.