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 protected])
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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com
This email sent to [email protected]