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: Macintosh Toolbox Essentials /
Chapter 5 - Control Manager / Control Manager Reference
Control Manager Routines / Determining Control Values


GetControlTitle

To determine the title of a control, use the GetControlTitle procedure. The GetControlTitle procedure is also available as the GetCTitle procedure.

PROCEDURE GetControlTitle (theControl: ControlHandle; 
                           VAR title: Str255);
theControl
A handle to the control whose title you want to determine.
title
The title of the control.
DESCRIPTION
The GetControlTitle procedure returns the specified control title, which is stored in the contrlTitle field of the control record.

When you create a control, you specify an initial title either in the control resource or in the title parameter of the NewControl function. You can change the title by using the SetControlTitle procedure.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
11 JUL 1996