My code for setting the cursor position on a form:
SetCursorPos(webControl1.PointToClient(Cursor.Position).X, webControl1.PointToClient(Cursor.Position).Y);
Thread.Sleep(100);
mouse_event(MOUSEEVENTF_LEFTDOWN, 0, 0, 0, 0);
mouse_event(MOUSEEVENTF_LEFTUP, 0, 0, 0, 0);
I've got a problem with SetCursor! I don't know how to set the parameters X and Y (I know X,Y before). ex: 75,522 Can anybody help me? regard!