MTblSetColumnHdrFreeBackColor

MTblSetColumnHdrFreeBackColor

Functions ›› MTblSet... ›› MTblSetColumnHdr... ››
Parent Previous Next

bOk = MTblSetColumnHdrFreeBackColor( hWndTbl, nColor, nFlags )

Sets the background color of a column header's free area ( = area to the right of the last column header ).

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 column header

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

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

Call MTblSetColumnHdrFreeBackColor( hWndTbl, COLOR_Blue, MTSC_REDRAW )

See also
Custom fonts and colors

Created with the Personal Edition of HelpNDoc: Write EPub books for the iPad