Mouse pointer positioning

Blitz3D Forums/Blitz3D Beginners Area/Mouse pointer positioning

Can anybody shed light on how to, when post a updateworld, renderworld and flip you make the mouse pointer appear at the middle of a 'resizeable/scaleable' window ??

The problem is the mousepointer shoots off to the top left of the resizeable screen. Ideally smack bang in the middle of the scaleable window would be sweet.

I am not sure if this is possible due to the fact that prior to 'maximising' a scaleable window the mouse pointer has the ability of going outside the scope of the applications window onto the desktop.

Thanks in advance....

The resizable/scalable window should still have the same resolution, just stretched/squashed.

MoveMouse GraphicsWidth()2,GraphicsHeight()/2


Should do the trick.

Cheers Ross.