ROWCOL GetSelectedRows(CRowColArray& awRows, BOOL bRangeRowsOnly = FALSE, BOOL bCanUseCurrentCell = TRUE);
BOOL GetSelectedRows(CRowColArray& awLeft, CRowColArray& awRight, BOOL bRangeRowsOnly = FALSE, BOOL bCanUseCurrentCell = TRUE);
awRows
Reference to an array of ROWCOL attributes to store all selected rows.
bRangeRowsOnly
TRUE if only full selected rows shall be returned; FALSE if rows shall also be returned in which only some cells have been selected.
bCanUseCurrentCell
TRUE if the row of the current cell can be returned when there are no other cells selected; FALSE if current cell shall be discarded.
awLeft
Reference to an array of ROWCOL attributes to store the first row of a range of rows.
awRight
Reference to an array of ROWCOL attributes to store the last row of a range of rows.
The first version of the method returns the number of selected rows. The second version returns TRUE if the method could return any rows; FALSE if not.
This method loops through the selected ranges and stores the row-ids in the given array.
The first version of this method stores all rows in awRows.
The second version stores ranges of rows in awLeft and awRight, whereas awLeft[n] contains the first row and awRight[n] contains the last row of the range at position n.
Class Overview | Class Members