MTblSetCellBackColor
bOk = MTblSetCellBackColor( hWndCol, nRow, nColor, nFlags )
Sets a cell's background 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 background color is set to blue and the cell is redrawn:
Call MTblSetCellBackColor( hWndCol, nRow, COLOR_Blue, MTSC_REDRAW )
See also
Custom fonts and colors
Created with the Personal Edition of HelpNDoc: Free EBook and documentation generator