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

TWidgetSet.SetBkColor

Sets the current background color of an device context.

Declaration

Source position: winapih.inc line 239

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.


Version 4.0 Generated 2025-05-03 Home