• 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: white screen windows at first
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: white screen windows at first


  • Subject: Re: white screen windows at first
  • From: Bill Appleton <email@hidden>
  • Date: Tue, 27 Apr 2010 15:36:28 -0700

this problem must be because i am using core graphics

i painted a big red rectangle in drawRect and then went on and called my
core graphics code

the big red rectangle comes up every time

but only after resizing do i see the stuff i draw with core graphics

so i am getting the draw rect events but for some reason i am using core
graphics wrong or didn't set it up right to be used

does this make sense to anybody?


thanks,

bill









On Tue, Apr 27, 2010 at 1:41 PM, Uli Kusterer
<email@hidden>wrote:

> On 27.04.2010, at 00:10, Bill Appleton wrote:
> > i added flush window to the drawRect method -- no help
> >
> > it IS calling draw rect right before the window is shown & then you see
> it
> > --- all white
>
>  Oh, also: if your code throws exceptions, those can abort important
> processes like redraws, you may want to set breakpoints on C++ throws and
> objc_exception_throw and see if any of these gets triggered and by whom.
> Also, throwing C++ exceptions through C or ObjC code and ObjC exceptions
> through C or C++ code can royally screw you.
>
> -- Uli Kusterer
> "The Witnesses of TeachText are everywhere..."
> http://www.masters-of-the-void.com
>
>
>
>
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: white screen windows at first
      • From: "Paul Sanders" <email@hidden>
References: 
 >white screen windows at first (From: Bill Appleton <email@hidden>)
 >Re: white screen windows at first (From: "Paul Sanders" <email@hidden>)
 >Re: white screen windows at first (From: Bill Appleton <email@hidden>)
 >Re: white screen windows at first (From: Uli Kusterer <email@hidden>)

  • Prev by Date: Re: menu madness with retain count
  • Next by Date: Re: Make About window respond to ⌘W in UI-less application
  • Previous by thread: Re: white screen windows at first
  • Next by thread: Re: white screen windows at first
  • Index(es):
    • Date
    • Thread