cursor rects
cursor rects
- Subject: cursor rects
- From: "Mike R. Manzano" <email@hidden>
- Date: Fri, 8 Sep 2006 12:06:09 -0700
You do call it yourself, but as Apple states, you do it by overriding
resetCursorRects. Here's some code I just wrote. Works great:
- (void)resetCursorRects
{
[ self addCursorRect:[ self visibleRect ] cursor:anNSCursorInstance ] ;
}
Apple says:
Changing the cursor is such a common operation that NSView defines
several
convenience methods to ease the process.
And later...
This method is intended to be invoked only by the resetCursorRects
method. If
invoked in any other way, the resulting cursor rectangle will be
discarded the
next time the view's cursor rectangles are rebuilt.
So how do I do this if I can't call it myself?
~ Mike
alephx01 (at) mac (dot) com
_______________________________________________
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