MTblSetRowHdrBackColor

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

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

Sets a row header's background color.

Parameters
hWndTbl
Window Handle: Handle of the table

nRow
Number: Row number. Specify TBL_Error to set the background color of the row headers in the area below the last visible row.

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 header

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

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

Call MTblSetRowHdrBackColor( hWndTbl, nRow, COLOR_Blue, MTSC_REDRAW )

See also
Custom fonts and colors

Created with the Personal Edition of HelpNDoc: What is a Help Authoring tool?