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 theKillControlsprocedure.
PROCEDURE KillControls (theWindow: WindowPtr);
theWindow- A pointer to the window containing the controls to remove.
DESCRIPTION
TheKillControlsprocedure disposes of all controls associated with the specified window by calling theDisposeControlprocedure for each control.SPECIAL CONSIDERATIONS
The Window Manager proceduresCloseWindowandDisposeWindowautomatically dispose of all controls associated with the given window.SEE ALSO
TheCloseWindowandDisposeWindowprocedures are described in the chapter "Window Manager" in this book.