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
2 Posted Topics
Re: :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 = … | |
Re: here :eek: [url]http://www.daniweb.com/techtalkforums/thread6727.html[/url] |
The End.