BCGSuite for MFC
BOOL CBCGPGridRange::IsValid ( ) const

Checks whether the range object is valid.

Nonzero if the range is valid; otherwise 0.

Call this function to determine whether this range is valid and references to some row, to some column, to some individual grid item, or to several grid items.