bOk = MTblSetHeadersBackColor( hWndTbl, nColor, nFlags )

Sets the default background color of headers ( column headers, row headers and the corner ).

Parameters
hWndTbl
Window Handle: Handle of the table

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 headers

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

Example
In this example the default background color is set to blue and the headers are redrawn:

Call MTblSetHeadersBackColor( hWndTbl, COLOR_Blue, MTSC_REDRAW )

See also
Custom fonts and colors

Created with the Personal Edition of HelpNDoc: Free CHM Help documentation generator