nColPos = MTblFindNextCol( hWndTbl, hWndrCol, nColFlagsOn, nColFlagsOff )

A "SalTblFindNextRow for columns".

Parameters
hWndTbl
Window Handle: Handle of the table

hWndrCol
Receive Window Handle: Start column. Specify hWndNULL to search all columns. If a column was found, this parameter is set with the handle of the found column.

nColFlagsOn
Number: Flags the column should have

nColFlagsOff
Number: Flags the column should not have

Return
Number: Position of the found column or 0 when no column was found

Example
In this example an array is filled with the selected columns:

Set hWndCol = hWndNULL
While MTblFindNextCol( hWndTbl, hWndCol, COL_Selected, 0 )
 Set hWndaSelCols[n] = hWndCol
 Set n = n + 1

See also
MTblFindPrevCol

Created with the Personal Edition of HelpNDoc: Free EPub producer