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


HiliteWindow

Use the HiliteWindow procedure to set a window's highlighting status.

PROCEDURE HiliteWindow (theWindow: WindowPtr; fHilite: Boolean);
theWindow
A pointer to the window's window record.
fHilite
A Boolean value that determines the highlighting status: TRUE highlights a window; FALSE removes highlighting.
DESCRIPTION
The HiliteWindow procedure sets a window's highlighting status to the specified state. If the value of the fHilite parameter is TRUE, HiliteWindow highlights the specified window; if the specified window is already highlighted, the procedure has no effect.
If the value of fHilite is FALSE, HiliteWindow removes highlighting from the specified window; if the window is not already highlighted, the procedure has no effect.

Your application doesn't normally need to call HiliteWindow. To make a window active, you can call SelectWindow, which handles highlighting for you.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
11 JUL 1996