Mailing Lists: Apple Mailing Lists

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

Re: Window Backgrounds (again)



OK, so after going through many header files and on-line docs, my understanding of things is this...

Windows are QuickDraw-based entities. They have a GrafPtr with info that describes their characteristics.

Controls take on the background color of their parent, all the way back to the window. This is true for both compositing as well as non-compositing windows. When they are redrawn, they search back through the "stack" to find this color. If a parent control has its "special background" bit set, it stops there and uses the background from that control (this mechanism is still magic to me). Otherwise it will go all the way back to the window for the color.

No, how do background procs work, and are they still useful in Panther?

At this point, my low-level set background of the window code uses a combination of QuickDraw and Quartz code. This tells me that you really cannot create Quartz-only Carbon apps.

<note to self> I really need to start writing my introduction to Quartz for QuickDraw programmers tutorial... </note to self>

Sigh. Wish these notes worked for me, too... ;-)
_______________________________________________
carbon-development mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/carbon-development
Do not post admin requests to the list. They will be ignored.


References: 
 >Window Backgrounds (again) (From: Jack Brindle <email@hidden>)
 >Re: Window Backgrounds (again) (From: David McLeod <email@hidden>)
 >Re: Window Backgrounds (again) (From: Jack Brindle <email@hidden>)
 >Re: Window Backgrounds (again) (From: David McLeod <email@hidden>)
 >Re: Window Backgrounds (again) (From: Jack Brindle <email@hidden>)
 >Re: Window Backgrounds (again) (From: Scott Thompson <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.