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 4 - Window Manager / Window Manager Reference
Window Manager Routines / Displaying Windows


BringToFront

Use the BringToFront procedure to bring a window to the front.

PROCEDURE BringToFront (theWindow: WindowPtr);
theWindow
A pointer to the window's window record.
DESCRIPTION
The BringToFront procedure puts the specified window at the beginning of the window list and redraws the window in front of all others on the screen. It does
not change the window's highlighting or make it active.

Your application does not ordinarily call BringToFront. The user interface guidelines specify that the frontmost window should be the active window. To bring a window to the front and make it active, call the SelectWindow procedure.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
11 JUL 1996