ADC Home > Reference Library > Technical Q&As > Carbon > Human Interface Toolbox >
|
Q:
Do I have to call A: It depends on which system you're running and what you want to do in the window. With the advent of the new High Level Toolbox in Mac OS 8.x,
and later on in Mac OS 9.x, you had to create a root control,
using With the advent of Mac OS X 10.0 and 10.1, you no longer
had to create the root control yourself since the High Level
Toolbox was doing it for you automatically as soon as the
first control was created in the window. You could leave,
in your source code, the With the advent of Mac OS X 10.2, this API now matters again. If you create a compositing window ( If you create a non-compositing window and wish to use embedding
controls (tabs, groups, etc.) or specific controls such as
the listbox or the databrowser, then you still need a root
control. If you create controls in your window with the When compositing is off, the root control of a window is
not the same entity as the content view of that window.
[Nov 12 2002] |
|