• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: NSBox setContentView: messing with the cursor
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >NSBox setContentView: messing with the cursor (From: Richard Somers <email@hidden>)

  • Prev by Date: Re: invalid conversion from 'void*' to 'CGImage*' (QTMovie)
  • Next by Date: How do you remove an item from recentDocumentURLs?
  • Previous by thread: Re: NSBox setContentView: messing with the cursor
  • Next by thread: DO problem with NSConnection/NSSocketPortNameServer
  • Index(es):
    • Date
    • Thread