MTblFindPrevCol

MTblFindPrevCol

Functions ›› MTblFind... ››
Parent Previous Next

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

A "SalTblFindPrevRow 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 we look for the last selected column:

Set hWndCol = hWndNULL
If MTblFindPrevCol( hWndTbl, hWndCol, COL_Selected, 0 )
 Set hWndLastSelCol = hWndCol

See also
MTblFindNextCol

Created with the Personal Edition of HelpNDoc: Free HTML Help documentation generator