bOk = MTblSetColumnHdrBackColor( hWndCol, nColor, nFlags )

Sets a column header's background color.

Parameters
hWndCol
Window Handle: Handle of the column

nColor
Number:The color. Specify MTBL_COLOR_UNDEF to leave the color undefined.

nFlags
Number: Any combination of the following flags:

MTSC_REDRAW

Redraws the column header

Return
Boolean: TRUE if successful or FALSE if an error occurs

Example
In this example a column header's background color is set to blue and the column header is redrawn:

Call MTblSetColumnHdrBackColor( hWndCol, COLOR_Blue, MTSC_REDRAW )

See also
Custom fonts and colors

Created with the Personal Edition of HelpNDoc: Easily create PDF Help documents