Carbon


GetWindowContentColor

Header: MacWindows.h Carbon status: Supported

Obtains the color to which a window’s content region is redrawn.

OSStatus GetWindowContentColor (
    WindowRef window, 
    RGBColor *color
);
Parameter descriptions
window

A pointer to the window whose content color is being retrieved.

color

On input, a pointer to an RGBColor structure. On return, the structure contains the content color for the specified window.

function result

A result code.

DISCUSSION

The GetWindowContentColor function obtains the color to which the window’s content region is redrawn.

See also the function SetWindowContentColor.

VERSION NOTES

This function is available with Mac OS 8.5 and later.

AVAILABILITY

Supported in Carbon. Available in Carbon 1.0.2 and later when running Mac OS 8.5 or later.


© 2000 Apple Computer, Inc. (Last Updated 6/30/2000)