Sign in to follow this  
TheC00L1

Hidding the mouse

Recommended Posts

If you're using the DirectX framework, the mouse cursor is re-initialized (or something like that) when you switch to fullscreen.
I guess you just have to re-do the SetShowCursor(false); after you switched to full-screen (using this command in the OnResetDevice() callback would work I think)

Share this post


Link to post
Share on other sites
Quote:
Original post by paic
If you're using the DirectX framework, the mouse cursor is re-initialized (or something like that) when you switch to fullscreen.
I guess you just have to re-do the SetShowCursor(false); after you switched to full-screen (using this command in the OnResetDevice() callback would work I think)


Yeah, i tried that one, no working, but thanx

Quote:

You should also set your hCursor member of your WNDCLASS[EX] structure to NULL, so Windows won't mess around with the cursor. That should help (I think).


Yep, windows stopped messing around with cursor, thanx!!!

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this