![]() |
SetWindowContentColor |
||||
Header: | MacWindows.h | Carbon status: | Supported | |
Sets the color to which a windows content region is redrawn.
OSStatus SetWindowContentColor ( WindowRef window, const RGBColor *color );
A pointer to the window whose content color is being set.
Set this structure to specify the content color to be used.
A result code.
If your application uses the SetWindowContentColor function, the windows content region is redrawn to the color you specify, without affecting the value specified in the windows CGrafPort structure for the current background color. Applications should use SetWindowContentColor instead of the SetWinColor function.
See also the function GetWindowContentColor.
This function is available with Mac OS 8.5 and later.
Supported in Carbon. Available in CarbonLib 1.0 and later when WindowsLib 8.5 or later is installed. Exported by CarbonLib 1.0 and later and by WindowsLib 8.5 and later.
© 2000 Apple Computer, Inc. (Last Updated 4/14/2000)