Re: Panel items failing to draw
Re: Panel items failing to draw
- Subject: Re: Panel items failing to draw
- From: "M. Uli Kusterer" <email@hidden>
- Date: Thu, 29 Apr 2004 07:59:56 +0200
At 12:06 Uhr -0700 28.04.2004, Eric Long wrote:
Do I need to call something similar to QDFlushPortBuffer() in Cocoa? Or is
there something I may be doing wrong?
If part of the window's contents draw, that sounds less like a case
for flushing. And ports are automatically flushed at event-procesing
time. I suppose you're running afoul of one of the following things:
1) You're modifying some items' positions or moving them between
windows or whatever, and you're using calls that don't call
setNeedsDisplay: automatically.
2) You're making changes to the GUI from another thread than the main
thread. Don't Do That(tm).
3) You're clobbering some memory you shouldn't, and this is just part
of the random weirdness that happens in such cases.
--
Cheers,
M. Uli Kusterer
------------------------------------------------------------
"The Witnesses of TeachText are everywhere..."
http://www.zathras.de
_______________________________________________
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.