Skip to main content
GameDev.net gamedev.net
🔒 Locked

hiding mouse cursor

Started by IvanGG Oct 26, 2002 at 3:14 PM 1 replies 250+ views
Original Post
IvanGG
IvanGG
Hello! I need to hide the mouse pointer in my DX game. I know the common way with SetCursor(0) but I need really no cursor even during loading pictures which takes 10 seconds. In this 10 secs the cursor is "busy cursor". I tried to change the pointers from Control Panel with empty cursors and then all pointers really disappeared except that "busy" pointer during loading pictures. Do you know effective way to remove any visual trace from the mouse cursor? Thanks in advance. Best wishes, Ivan.
Best wishes, Ivan.
Jan Wassenberg
Jan Wassenberg
ShowCursor(0); should do it.
Is your game fullscreen?
E8 17 00 42 CE DC D2 DC E4 EA C4 40 CA DA C2 D8 CC 40 CA D0 E8 40E0 CA CA 96 5B B0 16 50 D7 D4 02 B2 02 86 E2 CD 21 58 48 79 F2 C3
zealouselixir
zealouselixir
ShowCursor is the appropriate Win32, but to be pedantic, the parameter (IIRC) is a BOOL, which should either be TRUE or FALSE, according to the Win32 definitions.
[twitter]warrenm[/twitter]

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.