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


Removing Controls

When you use the Window Manager procedures DisposeWindow and CloseWindow to remove a window, they automatically remove all controls associated with the window and release the memory the controls occupy.

When you no longer need a control in a window that you want to keep, you can use the DisposeControl procedure to remove the control from the window's control list and release the memory it occupies. You can use the KillControls procedure to dispose of all of a window's controls at once.


Subtopics
DisposeControl
KillControls

Previous Book Contents Book Index Next

© Apple Computer, Inc.
11 JUL 1996