I want to turn off the selection of ranges so that only one cell can be selected.

Call:

GetParam()->EnableSelection(FALSE); 

This disables selecting ranges of cells.  Only the current cell will then be outlined.  You can determine the current

cells coordinates with GetCurrentCell(nRow, nCol).

FYI, When a new cell is selected, OnMovedCurrentCell() is called.