Legacy Documentclose button

Important: The information in this document is obsolete and should not be used for new development.

Previous Book Contents Book Index Next

Inside Macintosh: More Macintosh Toolbox /
Chapter 8 - Control Panels / Control Panels Reference


This section identifies the resources you supply for a control panel and monitors extension. The required resources for a control panel are

The following required resources are described completely in chapters of Inside Macintosh: Macintosh Toolbox Essentials and are not included in this reference section:

The two remaining required resources--machine ('mach') and rectangle positions ('nrct') resources--are described in this section. The font information ('finf') resource is also covered in this section; it is an optional resource that you can supply to specify the font to be used for static text items.

You can include additional resources in your control panel file that are not required. See "Providing Additional Resources for a Control Panel" on page 8-22 for more information.
The resources required for an extension to the Monitors control panel are

Of these required resources, the card ('card'), monitor ('mntr'), and rectangle ('RECT') resources are described in this reference section. See the chapter "Dialog Manager" in Inside Macintosh: Macintosh Toolbox Essentials for information about the item list ('DITL') resource.

For information about the optional resources you can provide for a monitors extension, see "Supplying Optional Resources for a Monitors Extension" beginning on page 8-56.

The Machine Resource
The Rectangle Positions Resource
The Font Information Resource
The Control Device Function Code Resource
The Card Resource
The Monitor Code Resource
The Rectangle Resource

Previous Book Contents Book Index Next

© Apple Computer, Inc.
6 JUL 1996