Compares two rows by the given column.
- Returns
- Zero if the rows are identical, < 0 if the first row is less than the second row, or > 0 if the first row greater than the second row.
Called by the framework to compare two rows by the given column. The rows are compared when they are roots of two groups. Override the method in a derived class for the custom comparison.
- Parameters
-
pRow1 | Points to the first row to compare. |
pRow2 | Points to the second row to compare. |
iColumn | Specify the zero-based index of a column by which two rows are compared. |