MTblSetRowTextColor

MTblSetRowTextColor

Functions ›› MTblSet... ›› MTblSetRow... ››
Parent Previous Next

bOk = MTblSetRowTextColor( hWndTbl, nRow, nColor, nFlags )

Sets a row's text color.

Parameters
hWndTbl
Window Handle: Handle of the table

nRow
Number: Row number

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 row

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

Example
In this example a row's text color is set to blue and the row is redrawn:

Call MTblSetRowTextColor( hWndTbl, nRow, COLOR_Blue, MTSC_REDRAW )

See also
Custom fonts and colors

Created with the Personal Edition of HelpNDoc: Full-featured Help generator