How do you set a single selection in the grid so only one continuous range of cells can be selected?

Example:

// disable all selections with
SelectRange(CGXRange( ).SetTable( ), FALSE);
// and enable the specific selection
SelectRange(CGXRange(1,1,10,5), TRUE);