How to set mouse position ?

compvis

03-09-2009 08:53:38

hi,

I use MyGUI in my project, so how can i set position of mouse with MyGUI ?

Thanks

compvis

03-09-2009 12:07:57

Oh la la ! Have fixed !!!

Thank you MyGUI !

spacegaier

25-09-2009 20:48:02

How about telling us how you did it? Am in the same situation as you were (and would not have to ask if you had posted it here ;) ).

compvis

09-10-2009 04:24:43

How about telling us how you did it? Am in the same situation as you were (and would not have to ask if you had posted it here ;) ).

Yes, only by:

MyGUI::IntPoint point;
MyGUI::PointerManager::getInstance().setPosition(point);

Thanks to MyGUI team !

my.name

09-10-2009 07:30:59

better use
MyGUI::InputManager::getInstance().injectMouseMove(x, y, z);

compvis

09-10-2009 07:39:43

better use
MyGUI::InputManager::getInstance().injectMouseMove(x, y, z);


Yes, thanks