Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

More on Overdrawing Controls in Leopard



Earlier I described a problem where controls were being drawn multiple times causing text to become bolder and dim controls to be darker.

The problem appears to be related to using a HIDisclosureTriangle in an embedded view and calling TransitionWindow to change the window size. For some reason HIDisclosureTriangle's draw function is calling HIWindowFlush which is causing my views to be drawn extra times. My views have probably been marked as dirty because I'm adding or removing views as I slide the window. Does this make any sense? It seems to me that it's a bug to call a flush function inside an HIView's drawing function.

HIDisclosureTriangle::DrawSelf
HIWindowFlush
_FlushWindow
FlushWindowObject
HIView::DrawComposited

...

MyViewsDrawingHandler
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Carbon-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/carbon-dev/email@hidden

This email sent to email@hidden


Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.