Jump to content
  • Advertisement
Sign in to follow this  
TheC00L1

Hidding the mouse

This topic is 4426 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
Advertisement
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  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!