Joined: 29 Nov 2005 Posts: 375 Location: Farmington NH, USA
Posted: Tue Dec 30, 2008 8:44 pm Post subject:
.. if i could comprehend the totality of what your asking i would have a more precise answer..
but Cursor.Position uses SetCursorPosition()...
also if you want to find something that part of window form try this psuedo code
FindWindow(
FindWindow//Get The Parent Window
NameOfChild)
GetWindowRect
using the RECT of the window u can set bound for the mouse all pretty simple stuff..
int x = 100; // X-Value on the Window
int y = 100; // Y-Value on the Window
RECT somerect;
HWND yourwnd = FindWindow(NULL, NULL); // Insert your shietz
GetWindowRect(yourwnd, &somerect);
SetCursorPos(somerect.left+x, somerect.top+y);
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum