• 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: Panel items failing to draw
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.


References: 
 >Panel items failing to draw (From: Eric Long <email@hidden>)

  • Prev by Date: Re: Enable Objective-C exception handling. [-fobjc-exceptions] causes additional warnings on pointers?
  • Next by Date: Location from System Preferences
  • Previous by thread: Re: Panel items failing to draw
  • Next by thread: Re: cocoa-dev digest, Vol 2 #4105 - 16 msgs
  • Index(es):
    • Date
    • Thread