NO

Author Topic: Hiding the cursor  (Read 4899 times)

rob

  • Guest
Hiding the cursor
« on: January 03, 2007, 09:59:34 PM »
Is there a way to hide the cursor? I found how to change what it looks like but not how to hide it.


rob

  • Guest
Hiding the cursor
« Reply #2 on: January 03, 2007, 11:29:03 PM »
Thanks. I'm trying the make it so the cursor is hidden inside the client area of the window and shown outside the client area, but it's not working correctly. My code looks like this:
Code: [Select]

case WM_NCMOUSELEAVE:
ShowCursor(FALSE);
break;
case WM_NCMOUSEMOVE:
ShowCursor(TRUE);
break;
case WM_MOUSEMOVE:
ShowCursor(FALSE);
break;


Edit: I noticed it works, but theres about a 1 second delay. Any ideas on how to fix this would be appreciated.