HexEdit/GridCtrl_src/GridCtrl.cpp
BOOL CGridCtrl::DeleteNonFixedRows()
{
    ResetSelectedRange();

    int nFixed = GetFixedRowCount();
    int nCount = GetRowCount();

    // Delete all data rows
    for (int nRow = nCount; nRow >= nFixed; nRow--)
        DeleteRow(nRow);

    return TRUE;
}
// Handy function that removes all non-fixed rows

Handy function that removes all non-fixed rows
Handy function that removes all non - fixed rows
BOOL CGridCtrl::DeleteNonFixedRows()
{
    ResetSelectedRange();
    int nFixed = GetFixedRowCount();
    int nCount = GetRowCount();
    for (int nRow = nCount; nRow >= nFixed; nRow--)
        DeleteRow(nRow);
    return TRUE;
}
BOOL CGridCtrl :: DeleteNonFixedRows ( ) { ResetSelectedRange ( ) ; int nFixed = GetFixedRowCount ( ) ; int nCount = GetRowCount ( ) ; for ( int nRow = nCount ; nRow >= nFixed ; nRow -- ) DeleteRow ( nRow ) ; return TRUE ; }
Handy function that removes all non-fixed rows
Handy function that removes all non - fixed rows
// Delete all data rows
