nCount = MTblGetRowSelChanges( hWndTbl, naRows[*], baChanges[*] )

Gets the row selection changes.

Parameters
hWndTbl
Window Handle: Handle of the table

naRows[*]
Array of Number: Contains the rows whose selection has changed if the function returns successfully

baChangesColors[*]
Array of Number: Contains the selection change ( TRUE = selected, FALSE = deselected ) if the function returns successfully

Return
Number: Number of rows whose selection changed

Example
In this example we ensure that the selected rows get the ROW_New flag:

On MTM_RowSelChanged
  Set nCount = MTblGetRowSelChanges( hWndTbl, naRows, baChanges )
  While n < nCount
    Call SalTblSetRowFlags( hWndForm, naRows[n], baChanges[n] )
    Set n = n + 1

Remarks
Call this funcion only on MTM_RowSelChanged!

See also
Extended selections

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