BCGControlBar Pro for MFC
virtual int CBCGPGridCtrl::CompareItems ( const CBCGPGridItem pItem1,
const CBCGPGridItem pItem2 
) const
protectedvirtual

Compares two items or two rows by the given column.

Returns
Zero if the items are identical, < 0 if the first object is less than the second object, or > 0 if the first object greater than the second object.

Called by the framework to compare two items or two rows by the given column. Override the method in a derived class for the custom comparison.

Parameters
pItem1Points to the first item to compare.
pItem2Points to the second item to compare.