GetWindowContentColor

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

pascal OSStatus GetWindowContentColor (
                     WindowPtr window,
                     RGBColor *color);
window
A value of type WindowPtr . Pass a pointer to the window whose content color is being retrieved.
color
A pointer to an RGBColor structure. On return, the structure contains the content color for the specified window.
function result
A result code. See Result Codes.
DISCUSSION

The GetWindowContentColor function obtains the color to which the window's content region is redrawn. See Window Content Color for further discussion.

VERSION NOTES

Available with Mac OS 8.5 and later.

SEE ALSO

The function SetWindowContentColor .


� 1999 Apple Computer, Inc. – (Last Updated 18 March 99)