Re: NSBox setContentView: messing with the cursor
Re: NSBox setContentView: messing with the cursor
- Subject: Re: NSBox setContentView: messing with the cursor
- From: Richard Somers <email@hidden>
- Date: Fri, 24 Sep 2010 14:10:30 -0600
On Sep 23, 2010, at 10:18 PM, Richard Somers wrote:
I have a NSBox in a portion of a window. The box is used to swap
views into the window by setting the content view of the box.
When a view is swapped in I need to set the cursor but NSBox is
changing the cursor out from underneath me.
When the content view of a NSBox is changed, the window updates the
cursor even if the cursor is not inside the box. If you do not want
this, then send the window a 'disableCursorRects' message.
Thanks to everyone for helping me figure this out.
--Richard
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please 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