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

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.


  • Follow-Ups:
    • Re: Panel items failing to draw
      • From: "M. Uli Kusterer" <email@hidden>
    • Re: Panel items failing to draw
      • From: j o a r <email@hidden>
  • Prev by Date: Re: ZeroLink and duplicate symbols
  • Next by Date: Re: cocoa-dev digest, Vol 2 #4105 - 16 msgs
  • Previous by thread: Re: Moving text-insertion point?
  • Next by thread: Re: Panel items failing to draw
  • Index(es):
    • Date
    • Thread