Sign in to follow this  

Hidding the mouse

This topic is 4240 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I made my own mouse pic, so how do i hide the mouse in directx 9? This might not have to do wit directx 9, but i wasn't sure.

Share this post


Link to post
Share on other sites
Ummm... there's only one problem, when i switch to full screen, it displays the mouse again, why?

Share this post


Link to post
Share on other sites
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).

Share this post


Link to post
Share on other sites
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
Sign in to follow this