MTblSetTreeNodeColors
bOk = MTblSetTreeNodeColors( hWndTbl, nOuterColor, nInnerColor, nBackColor )
Sets a table's node colors.
Parameters
hWndTbl
Window Handle: Handle of the table
nOuterColor
Number: The outer ( = frame ) color or MTBL_COLOR_UNDEF to use the default ( = black )
nInnerColor
Number: The inner ( = +/- sign ) color or MTBL_COLOR_UNDEF to use the default ( = outer color )
nBackColor
Number: The background color or MTBL_COLOR_UNDEF to use the default ( = current cell background color )
Return
Boolean: TRUE if successful or FALSE if an error occurs
Example
In this example we set the outer color to dark gray, the inner color to black and the background color to white:
Call MTblSetTreeNodeColors( hWndTbl, COLOR_DarkGray, COLOR_Black, COLOR_White )
See also
Tree view
Custom fonts and colors
Created with the Personal Edition of HelpNDoc: Make Your PDFs More Secure with Encryption and Password Protection