nCols = MTblEnumColHdrGrpCols( hWndTbl, nColHdrGrp, hWndaCols[*] )

Enumerates all columns of a column header group.

Parameters
hWndTbl
Window Handle: Handle of the table

nColHdrGrp
Number: Handle of the column header group

hWndaCols[*]
Array of Number: Contains the handles of the columns when the function returns successfully

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

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

Set nCols = MTblEnumColHdrGrpCols( hWndTbl, hColHdrgrp, hWndaCols )
While n < nCols
 Call MTblSetColumnHdrTextColor( hWndaCols[n], COLOR_Blue, 0 )
 Set n = n + 1

See also
Column header groups

Created with the Personal Edition of HelpNDoc: Easy CHM and documentation editor