Mouse Cursor Does Not Always Unhide
Mouse Cursor Does Not Always Unhide
- Subject: Mouse Cursor Does Not Always Unhide
- From: Brian Toth <email@hidden>
- Date: Fri, 18 Mar 2005 00:09:52 -0500
Hello,
My application hides the cursor using NSCursor's +hide method when it
goes into full screen mode. This works fine 100% of the time. It
will also unhide the cursor on -mouseMoved: events and re-hide the
cursor on -keyDown: events. This works perfectly as well.
The problem is that when I close the window, I send the +unhide
message to NSCursor to show the cursor again, but about 25% of the
time, the cursor does not show. It will stay hidden until the mouse
passes over the Dock, then it will be visible again. I know the
method is being called, and I tried calling it outside of the window
subclass that is being used for the full screen mode by registering
for the NSWidowDidCloseNotification, but that made no difference. I
also tried using the CG mouse functions instead of AppKit's... but
that didn't make a difference either.
Any ideas regarding this would be appreciated.
- Brian Toth
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden