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
<witness.of.teacht...@gmx.net>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 (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to