Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » Community » Newbie corner » How does one position the mouse cursor?
How does one position the mouse cursor? [message #44661] Sun, 10 May 2015 07:39 Go to next message
rxantos is currently offline  rxantos
Messages: 72
Registered: October 2011
Member
Without using the mouse of course.

For example, if I wanted to start in the middle of the window.

I know the win32 way, but wonder what the u++ way would be.
Re: How does one position the mouse cursor? [message #44662 is a reply to message #44661] Sun, 10 May 2015 16:20 Go to previous messageGo to next message
koldo is currently offline  koldo
Messages: 3355
Registered: August 2008
Senior Veteran
Hello rxantos

The SysInfo way Smile is Mouse_SetPos(long xMove, long yMove, int64 windowId).

You can also click the mouse buttons and simulate the keyboard, and it works in Linux and Windows.


Best regards
IƱaki
Re: How does one position the mouse cursor? [message #44676 is a reply to message #44662] Sat, 16 May 2015 08:32 Go to previous message
rxantos is currently offline  rxantos
Messages: 72
Registered: October 2011
Member
Thank you.

BTW:

Useful package.
Previous Topic: How to Xmlize gridctrl
Next Topic: Basic package requirements
Goto Forum:
  


Current Time: Thu Mar 28 18:08:02 CET 2024

Total time taken to generate the page: 0.00988 seconds