HexEdit/GridCtrl_src/GridCtrl.cpp
BOOL CGridCtrl::SortTextItems(int nCol, BOOL bAscending, LPARAM data /* = 0 */)
{
    SetSortColumn(nCol);
    SetSortAscending(bAscending);
    ResetSelectedRange();
    SetFocusCell(-1, - 1);
    return CGridCtrl::SortItems(pfnCellTextCompare, nCol, bAscending, data);
}
// Sorts on a given column using the cell text

Sorts on a given column using the cell text
Sorts on a given column using the cell text
BOOL CGridCtrl::SortTextItems(int nCol, BOOL bAscending, LPARAM data )
{
    SetSortColumn(nCol);
    SetSortAscending(bAscending);
    ResetSelectedRange();
    SetFocusCell(-1, - 1);
    return CGridCtrl::SortItems(pfnCellTextCompare, nCol, bAscending, data);
}
BOOL CGridCtrl :: SortTextItems ( int nCol , BOOL bAscending , LPARAM data ) { SetSortColumn ( nCol ) ; SetSortAscending ( bAscending ) ; ResetSelectedRange ( ) ; SetFocusCell ( -1 , - 1 ) ; return CGridCtrl :: SortItems ( pfnCellTextCompare , nCol , bAscending , data ) ; }
Sorts on a given column using the cell text
Sorts on a given column using the cell text
/* = 0 */