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 / Setting and Retrieving Other Window Characteristics


GetWVariant

Use the GetWVariant function to retrieve a window's variation code.

FUNCTION GetWVariant (theWindow: WindowPtr): Integer;
theWindow
A pointer to the window's window record.
DESCRIPTION
The GetWVariant function returns the variation code of the specified window. Depending on the window's window definition function, the result of GetWVariant can represent one of the standard window types listed in the section "Creating a Window" beginning on page 4-25 or a variation code defined by your own window definition function.

SEE ALSO
See "Types of Windows" beginning on page 4-8 for a definition of variation codes. See "The Window Definition Function" beginning on page 4-112 for a detailed description of variation codes.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
11 JUL 1996