MTblSetSelectionColors

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

bOk = MTblSetSelectionColors( hWndTbl, nTextColor, nBackColor )

Sets the selection colors.

Parameters
hWndTbl
Window Handle: Handle of the table

nTextColor
Number: The text color. Specify MTBL_COLOR_UNDEF to leave the color undefined.

nBackColor
Number: The background color. Specify MTBL_COLOR_UNDEF to leave the color undefined.

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

Example
In this example the selection background color is set to blue and the text color to white:

Call MTblSetSelectionColors( hWndTbl, COLOR_White, COLOR_Blue )

See also
Extended selections

Created with the Personal Edition of HelpNDoc: Free Kindle producer