injectMousePosition returning false
Posted: Tue Apr 25, 2006 00:33
I'm trying to inject the mouse position into CE & the method "injectMousePosition" returns false constantly. As such the mouse cursor has disapeared (without calling this function, the cursor shows in the centre of the screen)
I have checked the values i give it, they are in pixel coordinates as they are meant to be, i just can't figure out why its failing.
For the record I'm using Ogre (latest SDK with the included CEGUI) on windows & I'm using SDL for input.
I have logged the mouse position at each frame & it is indeed updating & is withing the window as pixel coordinates.
Even when i inject a hardcoded pixel value, the cursor still refuses to show.
I have checked the values i give it, they are in pixel coordinates as they are meant to be, i just can't figure out why its failing.
For the record I'm using Ogre (latest SDK with the included CEGUI) on windows & I'm using SDL for input.
I have logged the mouse position at each frame & it is indeed updating & is withing the window as pixel coordinates.
Even when i inject a hardcoded pixel value, the cursor still refuses to show.