Re: Non-rectangular cursor tracking regions
Re: Non-rectangular cursor tracking regions
- Subject: Re: Non-rectangular cursor tracking regions
- From: Ron Aldrich <email@hidden>
- Date: Thu, 19 Apr 2007 17:27:52 -0700
On Apr 19, 2007, at 4:21 PM, Ron Aldrich wrote:
Would calling the following on mouse moved events be advisable?
- (void) setCursor: (NSCursor*) inCursor
forView: (NSView*) inView
{
[inView discardCursorRects];
[inView addCursorRect: [inView visibleRect]
cursor: inCursor];
[inCursor set];
}
For what it's worth, this appears to work.
I still don't know what landmines I'm dancing around though ;-)
Ron Aldrich
Software Architects, Inc.
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden