Panel items failing to draw
Panel items failing to draw
- Subject: Panel items failing to draw
- From: Eric Long <email@hidden>
- Date: Wed, 28 Apr 2004 12:06:06 -0700
Hi,
In Carbon applications, it is not uncommon to need to call
QDFlushPortBuffer() now and then to nudge a window to draw properly. I am
relatively new to Cocoa programming, but I am seeing a similar problem,
every once in awhile, where a window, such as a reasonably simple dialog
panel, with basic UI elements like text and buttons, will appear with some
items not drawn. In one case, I am seeing an panel's cancel and ok buttons
come up missing, like they don't exist, until you click in a location where
you know one of those buttons should be, then the button is suddenly drawn
and the click handled properly.
In another case, I've seen a window with pop-ups and labels appear with the
text labels missing.
This problem doesn't happen very often, but enough that it's not just a
fluke occurrence.
Do I need to call something similar to QDFlushPortBuffer() in Cocoa? Or is
there something I may be doing wrong?
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.