SFML community forums
Help => Window => Topic started by: katrin on June 08, 2009, 02:30:30 pm
-
hi
in my current programm, i need the mouse cursor to be visible at a certain point of the programm - no prob, just set Window.ShowMouse( true ) :D . so far so good but i aktually want the mouse cursor to appear at a defined position.
i know how to *get* the mouse cursor position but is there any way to *set* the mouse cursor position???
any help appreciated
-
is there any way to *set* the mouse cursor position???
Hm, how would you call such a function? Maybe SetCursorPosition? Just read the documentation. ;)
-
:oops: i aktually thought of something like this ... but i obviously looked at the wrong place in the documentation ...
sorry to bother but thanx for your reply!
-
No problem. :)
Most functions and classes in SFML are named in a very intuitive way. The big part can be used without even reading the doc. For the others, the intellisense comment (MSVC) or the header file itsself gives a good guide.