TE Edit Control Win32 / Win64 Help
Product page

TerSetCellInfo2

Set additional information for a cell id.

BOOL TerSetCellInfo2(hWnd, CellId, BackColor, margin, ParentCell)
HWND hWnd;The handle of the window to be accessed.
int CellId;The cell id to set information.
COLORREF BackColor;The background color (RGB) for the cell.
int margin;The cell margin in twips. Set to -1 to leave this value unchanged.
int ParentCell;The parent cell id for this cell. Set to -1 to leave this value unchanged.

Return Value: This function returns TRUE when successful.