[Overview][Constants][Types][Classes][Variables][Index] Reference for unit 'InterfaceBase' (#lcl)

TWidgetSet.SetBkColor

Sets the current background color of an decice context.

Declaration

Source position: winapih.inc line 236

public function TWidgetSet.SetBkColor(

  DC: HDC;

  Color: TColorRef

):TColorRef; virtual;

Arguments

DC

  

The device context.

Color

  

The new background color.

Function result

The old background color, CLR_INVALID on failure.