Setting the Mouse Cursor Position

Setting the Mouse Cursor Position

Kyudos
Advisor Advisor
261 Views
0 Replies
Message 1 of 1

Setting the Mouse Cursor Position

Kyudos
Advisor
Advisor

I have a function in my ARX to 'Goto' specified coordinates. It centers the viewport on a location and sets the viewport size based on some predefined sizes / user options. I use it to move around in general and to go to specific entities (e.g., if there is an error at Widget A, go to Widget A, if there is an error at location X, Y go to X, Y). 

 

Now, it seems pretty obvious to me how this thing works - but more than one user has complained that 'there is nothing at that location' because the function doesn't move the mouse cursor to the centre of the viewport. Heaven forbid they actually check the coordinates they were trying to "goto"! Anyway, is there a recommended ObjectARX  to move the mouse cursor to a particular spot, or should I just use the Windows functions?

 

Cheers!

0 Likes
262 Views
0 Replies
Replies (0)