Hidding the mouse
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.
Ummm... there's only one problem, when i switch to full screen, it displays the mouse again, why?
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).
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)
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)
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!!!
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement