nChildRow = MTblGetNextChildRow( hWndTbl, nRow )

Gets the next row which has the same parent as a given row.

Window Handle: Handle of the table

Number: Start row for searching

Number: Next child row if successful, TBL_Error when not found or an error occurs

In this example an array is filled with a row's child rows:

Set nChildRow = MTblGetFirstChildRow( hWndTbl, nRow )
While nChildRow != TBL_Error
 Set naChildRows[n] = nChildRow
 Set n = n + 1
 Set nChildRow = MTblGetNextChildRow( hWndTbl, nChildRow )

See also
Tree view

Created with the Personal Edition of HelpNDoc: Easy to use tool to create HTML Help files and Help web sites