Help Center

CWindow.GetBackColormethod

Gets the background color of a control.

WindowsmethodCWindow.incdocumented

Syntax

FUNCTION GetBackColor (BYVAL hCtl AS HWND) AS COLORREF

Parameters

NameDescription
hCtlThe handle of the CWindowor control.

Description

Gets the background color of a CWindowor control.

Reference

  • Include file CWindow.inc
  • Defined in AfxNova/CWindow.inc:2519
  • Documented in Windows/Windows GUI/CWindow Class.md
  • Topic: CWindow Class