Set cursor position

How could I set the cursor position in a dialog box?
OnMouseMove gives me the position of the mouse, but I want
to force that position to be something else.

    thanks
pchalouxAsked:
Who is Participating?
 
jkrConnect With a Mentor Commented:
Simply use the Win32 API 'SetCursorPos()' to set the cursor to any position you want to...
0
 
pchalouxAuthor Commented:
Oh!  It was that easy !
I don't have MSDN Librairy installed, that why I haven't found it.

Thanks
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.