Important: The information in this document is obsolete and should not be used for new development.
KillControls
To remove all of the controls in a particular window that you want to keep, use theKillControls
procedure.
PROCEDURE KillControls (theWindow: WindowPtr);
theWindow
- A pointer to the window containing the controls to remove.
DESCRIPTION
TheKillControls
procedure disposes of all controls associated with the specified window by calling theDisposeControl
procedure for each control.SPECIAL CONSIDERATIONS
The Window Manager proceduresCloseWindow
andDisposeWindow
automatically dispose of all controls associated with the given window.SEE ALSO
TheCloseWindow
andDisposeWindow
procedures are described in the chapter "Window Manager" in this book.