MTblSetColHdrGrpFont
bOk = MTblSetColHdrGrpFont( hWndTbl, nColHdrGrp, sName, nSize, nEnh, nFlags )
Sets a column header group's font.
Parameters
hWndTbl
Window Handle: Handle of the table
nColHdrGrp
Window Handle: Handle of the column header group
sName
String: Font name. Specify MTBL_FONT_UNDEF_NAME to leave the name undefined.
nSize
Number: Font size. Specify MTBL_FONT_UNDEF_SIZE to leave the size undefined.
nEnh
Number:Any combination of the following enhancements: FONT_EnhBold, FONT_EnhItalic, FONT_EnhStrikeOut and FONT_EnhUnderline. Specify MTBL_FONT_UNDEF_ENH to leave the enhancements undefined.
nFlags
Number: Any combination of the following flags:
MTSF_REDRAW |
Redraws the column header group |
Return
Boolean: TRUE if successful or FALSE if an error occurs
Example
In this example a column header group's font is set to Arial, size 10. The enhancements are undefined and the column header group is redrawn:
Call MTblSetColHdrGrpFont( hWndTbl, nColHdrGrp, "Arial", 10, MTBL_FONT_UNDEF_ENH, MTSF_REDRAW )
See also
Column header groups
Custom fonts and colors
Created with the Personal Edition of HelpNDoc: Single source CHM, PDF, DOC and HTML Help creation