|This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.|
The SetColorKeyfunction sets the color key for the current surface. This function sets the low and high color key to the same value. If you wish to set the color key to a range of values, you should use the SetColorKeyLowand SetColorKeyHighfunctions.
virtual void SetColorKey ( DWORD dwColorKey );
Last updated on Tuesday, July 13, 2004