U++ framework
Do not panic. Ask here before giving up.

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: 73
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: 3458
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: 73
Registered: October 2011
Member
Thank you.

BTW:

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


Current Time: Mon May 04 08:37:14 GMT+2 2026

Total time taken to generate the page: 0.00642 seconds