Re: Panel items failing to draw
Re: Panel items failing to draw
- Subject: Re: Panel items failing to draw
- From: Eric Long <email@hidden>
- Date: Wed, 28 Apr 2004 16:51:38 -0700
>
Generally, these kinds of things tend to happen when you are doing
>
one of two things:
>
>
1) Drawing in your view outside of the drawRect: method
>
>
or
>
>
2) Have views which overlap at the same point in the view heirarchy
I have an NSBox that contains the two NSButtons that on occasion disappear.
None of the items in the NSBox overlap each other. The buttons are not on
top of the NSBox, they are contained within its hierarchy.
I'm not doing any drawing of my own in the window. The window has a standard
background.
I load the nib via initWithWindowNibName and simply show the window.
There are no items being moved, resized, or the like.
>
If you haven't already, it might be a good idea to read through the
>
Cocoa Conceptual topic on "Drawing and Views":
>
http://developer.apple.com/documentation/Cocoa/Conceptual/DrawViews/index.html
I'll check it out.
Thanks,
Eric
_______________________________________________
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.