while(nCol < m_Grid.GetCols())
{
m_Grid.SetRow(nRow);
m_Grid.SetCol(nCol);
m_Grid.SetCellBackColor(RGB(248,248,255));
nCol++;
}
while(nCol < m_Grid.GetCols())
{
m_Grid.SetRow(nRow);
m_Grid.SetCol(nCol);
m_Grid.SetCellBackColor(RGB(248,248,255));
nCol++;
}