SetRGBColorKey
Applies to

TDirectDrawSurface

Declaration

procedure SetRGBColorKey( rgb: COLORREF );

Description

Sets a color key for a surface, given a RGB. If you pass CLR_INVALID as the color key, the pixel in the upper-left corner will be used.