SetMousePos???

This forum can be used to talk about general design strategies, new ideas and questions in general related to wxWidgets. If you feel your questions doesn't fit anywhere, put it here.
Post Reply
robal
Experienced Solver
Experienced Solver
Posts: 80
Joined: Thu May 05, 2005 7:46 am

SetMousePos???

Post by robal » Tue May 24, 2005 10:11 am

I cannot find way, how to set mouse position in window - is there some method similar to SetMousePos() from Windows API? I would like to have it as cross-platform feature, but in documentation there is nothig similar. Or maybe i miss something?

upCASE
Site Admin
Site Admin
Posts: 3176
Joined: Mon Aug 30, 2004 6:55 am
Location: Germany, Cologne

Post by upCASE » Tue May 24, 2005 10:52 am

Hi!
Check wxWindow::WarpPointer()
OS: OpenSuSE, Ubuntu, Win XP Pro
wx: svn
Compiler: gcc 4.5.1, VC 2008, eVC 4

"If it was hard to write it should be hard to read..." - the unknown coder
"Try not! Do. Or do not. There is no try." - Yoda

robal
Experienced Solver
Experienced Solver
Posts: 80
Joined: Thu May 05, 2005 7:46 am

Post by robal » Tue May 24, 2005 1:49 pm

Yes, thats the point - thanks :)

Post Reply