Solved

Set cursor position

Posted on 1998-12-04
2
423 Views
Last Modified: 2013-11-20
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
0
Comment
Question by:pchaloux
2 Comments
 
LVL 86

Accepted Solution

by:
jkr earned 50 total points
ID: 1325769
Simply use the Win32 API 'SetCursorPos()' to set the cursor to any position you want to...
0
 

Author Comment

by:pchaloux
ID: 1325770
Oh!  It was that easy !
I don't have MSDN Librairy installed, that why I haven't found it.

Thanks
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Introduction: Load and Save to file, Document-View interaction inside the SDI. Continuing from the second article about sudoku.   Open the project in visual studio. From the class view select CSudokuDoc and double click to open the header …
Introduction: Hints for the grid button.  Nested classes, templated collections.  Squash that darned bug! Continuing from the sixth article about sudoku.   Open the project in visual studio. First we will finish with the SUD_SETVALUE messa…
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

948 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now