nColHdrGrps = MTblEnumColHdrGrps( hWndTbl, naGroups[*] )

Enumerates all column header groups of a table.

Parameters
hWndTbl
Window Handle: Handle of the table

naGroups[*]
Array of Number: Contains the handles of the groups when the function returns successfully

Return
Number: Number of groups or negative if an error occurs

Example
In this example we set the text color of all column header groups to blue:

Set nGroups = MTblEnumColHdrGrps( hWndTbl, naGroups )
While n < nGroups
 Call MTblSetColHdrGrpTextColor( hWndTbl, naGroups[n], COLOR_Blue, 0 )
 Set n = n + 1

See also
Column header groups

Created with the Personal Edition of HelpNDoc: Create HTML Help, DOC, PDF and print manuals from 1 single source