MTblSetColHdrGrpBackColor

Functions ›› MTblSet... ›› MTblSetColHdrGrp... ››
Parent Previous Next

bOk = MTblSetColHdrGrpBackColor( hWndTbl, nColHdrGrp, nColor, nFlags )

Sets a column header's background color.

Parameters
hWndTbl
Window Handle: Handle of the table

nColHdrGrp
Number: Handle of the column header group

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 group

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

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

Call MTblSetColHdrGrpBackColor( hWndTbl, nColHdrGrp, COLOR_Blue, MTSC_REDRAW )

See also
Column header groups
Custom fonts and colors

Created with the Personal Edition of HelpNDoc: iPhone web sites made easy