Solved

Set cursor position

Posted on 1998-12-04
2
414 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
Comment Utility
Simply use the Win32 API 'SetCursorPos()' to set the cursor to any position you want to...
0
 

Author Comment

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

Thanks
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Suggested Solutions

Introduction: Dialogs (1) modal - maintaining the database. Continuing from the ninth article about sudoku.   You might have heard of modal and modeless dialogs.  Here with this Sudoku application will we use one of each type: a modal dialog …
Have you tried to learn about Unicode, UTF-8, and multibyte text encoding and all the articles are just too "academic" or too technical? This article aims to make the whole topic easy for just about anyone to understand.
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.
This video demonstrates how to create an example email signature rule for a department in a company using CodeTwo Exchange Rules. The signature will be inserted beneath users' latest emails in conversations and will be displayed in users' Sent Items…

763 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

10 Experts available now in Live!

Get 1:1 Help Now