Re: _NXSetCursorRect Error
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.