losing a custom cursor in a drawer?
losing a custom cursor in a drawer?
- Subject: losing a custom cursor in a drawer?
- From: Steve Mykytyn <email@hidden>
- Date: Tue, 12 Apr 2005 10:17:05 -0700
I set a custom cursor in my main NSView using setDocumentCursor on the
enclosing NSScrollView.
when a user clicks with the tool in the view, the NSView redraws, after
which I update the appearance of a thumbnail view in an NSTableView in
an NSDrawer attached to the window. (like the slide images in Keynote)
Problem: the cursor is forced back to the arrow cursor, until I move
the cursor outside the NSView and then back in, at which point it is
the correct custom cursor again.
I get the same behavior using the resetCursorRects approach, and it
actually does not matter what I draw over in the drawer - simply
sending a reloadData over to another NSTableView in the attached drawer
is enough to lose the cursor. If I comment out the reloadData, then
the cursors all behave as expected...
Since just moving the cursor outside the main view and back in gets
back to the custom cursor, it looks like everything is set OK - but
doing a view update over in the NSDrawer is causing a problem.
Suggestions on how to proceed?
_______________________________________________
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