Problems with hidden mousepointer

I’m using SDL for mouse input to control the view of the player in a 3D
environment. I’ve hidden the mouse cursor but now the problem is that when I
move the mouse to much downward then my windows bar appears and the SDL
window looses focus and doesn’t respond to mouse input. Only when I mouse
the mouse back up again and press a mousebutton than I regain control.

What might also be important to mention is that this only happens on my
laptop (touch-pad). I’ve tested my prog on a mini-tower and there this
problem did not accur.

Any suggestions?

I’m using SDL for mouse input to control the view of the player in a 3D
environment. I’ve hidden the mouse cursor but now the problem is that when I
move the mouse to much downward then my windows bar appears and the SDL
window looses focus and doesn’t respond to mouse input. Only when I mouse
the mouse back up again and press a mousebutton than I regain control.

Grab the input with SDL_WM_GrabInput()

See ya,
-Sam Lantinga, Software Engineer, Blizzard Entertainment

I already was using SDL_WM_GrabInput(); It doesn’t help.

Perhaps it’s because of the labtop/touchpad as I mentioned before. If anyone
got any other ideas or suggestions, please help.

Peter> ----- Original Message -----

From: slouken@devolution.com (Sam Lantinga)
To:
Sent: Sunday, August 05, 2001 7:41 PM
Subject: Re: [SDL] problems with hidden mousepointer

I’m using SDL for mouse input to control the view of the player in a 3D
environment. I’ve hidden the mouse cursor but now the problem is that
when I

move the mouse to much downward then my windows bar appears and the SDL
window looses focus and doesn’t respond to mouse input. Only when I
mouse

the mouse back up again and press a mousebutton than I regain control.

Grab the input with SDL_WM_GrabInput()

See ya,
-Sam Lantinga, Software Engineer, Blizzard Entertainment


SDL mailing list
SDL at libsdl.org
http://www.libsdl.org/mailman/listinfo/sdl

Hi,

Perhaps it’s because of the labtop/touchpad as I mentioned before. If
anyone
got any other ideas or suggestions, please help.

Well, is the laptop using standard Windows mouse drivers - and, most
importantly, is the laptop using the latest version of DirectX, or at least
the same version as on your other machine?

Neil.