GetWindowContentPattern

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

pascal OSStatus GetWindowContentPattern (
                     WindowPtr window,
                     PixPatHandle outPixPat);
window
A value of type WindowPtr . Pass a pointer to the window whose content pattern is being retrieved.
outPixPat
A handle to a structure of type PixPat . On return, the structure contains a copy of the content pattern data for the specified window, which your application is responsible for disposing.
function result
A result code. See Result Codes.
DISCUSSION

The GetWindowContentPattern function obtains the pattern 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 SetWindowContentPattern .


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