• 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: _NXSetCursorRect Error
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: _NXSetCursorRect Error


  • Subject: Re: _NXSetCursorRect Error
  • From: Andy Lee <email@hidden>
  • Date: Tue, 28 May 2002 09:23:00 -0400

At 10:37 PM -0400 5/27/02, Bryan Rieger wrote:
The error message is "_NXSetCursorRect: error getting window bounds (1001)"


I got the same error in the initialization of my app and tracked it down to a view whose superview was nil. I had an NSTextView in a non-selected tab of an NSTabView, and I was stuffing text into the NSTextView; I think I was also selecting text in it. Anyway, the problem was that because it was in a non-selected tab, its super-superview was nil, and therefore its window was also nil.

The error seemed to be harmless, but for peace of mind I got rid of it by rearranging my startup logic a bit.

--Andy
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

References: 
 >_NXSetCursorRect Error (From: Bryan Rieger <email@hidden>)

  • Prev by Date: Re: copyPath on different volumes with same name
  • Next by Date: "Pressed" toolbar Items
  • Previous by thread: _NXSetCursorRect Error
  • Next by thread: Re: _NXSetCursorRect Error
  • Index(es):
    • Date
    • Thread