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 / Manipulating the Desktop


GetCWMgrPort

Use the GetCWMgrPort procedure to retrieve a pointer to the Window Manager port on a system that supports Color QuickDraw.

PROCEDURE GetCWMgrPort (VAR wMgrCPort: CGrafPtr);
wMgrCPort
A parameter in which GetCWMgrPort returns a pointer to the Window Manager port.
DESCRIPTION
The GetCWMgrPort procedure places a pointer to the color Window Manager port in the parameter wMgrCPort. The GetCWMgrPort procedure is available only on computers with Color QuickDraw.

The Window Manager port is a graphics port that occupies all of the main screen. Ordinarily, your application doesn't need to access the Window Manager port.

Note
Do not change any regions of the Window Manager port. If you do, the Window Manager might not handle overlapping windows properly.

Previous Book Contents Book Index Next

© Apple Computer, Inc.
11 JUL 1996