BCGSuite for MFC
virtual int CBCGPGridCtrl::CompareGroup ( const CBCGPGridRow pRow1,
const CBCGPGridRow pRow2,
int  iColumn 
)
protectedvirtual

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
pRow1Points to the first row to compare.
pRow2Points to the second row to compare.
iColumnSpecify the zero-based index of a column by which two rows are compared.