Help Center

CTextRow.SetCellColorBackmethod

Sets the background color of the active cell.

Windowsmethoddocumented

Syntax

FUNCTION SetCellColorBack (BYVAL Value AS LONG) AS HRESULT

Parameters

NameDescription
ValueThe background color.

Return value

If the method succeeds, it returns NOERROR. Otherwise, it returns an HRESULT error code.

Description

Sets the background color of the active cell.

Remarks

See GetCellShading to see how the background color is used together with the foreground color.

Reference

  • Defined in AfxNova/CTextRow.inc:400
  • Documented in Windows/WIndows Controls/RichEdit/CTextRow Class.md
  • Topic: CTextRow Class