MTblSetCellTextColor

Functions ›› MTblSet... ›› MTblSetCell... ››
Parent Previous Next

bOk = MTblSetCellTextColor( hWndCol, nRow, nColor, nFlags )

Sets a cell's text color.

Parameters
hWndCol
Window Handle: Handle of the column

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 cell

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

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

Call MTblSetCellTextColor( hWndCol, nRow, COLOR_Blue, MTSC_REDRAW )

See also
Custom fonts and colors

Created with the Personal Edition of HelpNDoc: Produce online help for Qt applications