SetBkColor function gdi32

int SetBkColor(
  1. int hdc,
  2. int color
)

The SetBkColor function sets the current background color to the specified color value, or to the nearest physical color if the device cannot represent the specified color value.

COLORREF SetBkColor(
  HDC      hdc,
  COLORREF color
);

Implementation

int SetBkColor(int hdc, int color) => _SetBkColor(hdc, color);