BCGControlBar Pro for MFC
BOOL CBCGPGridRange::IsValid ( ) const
inline

Checks whether the range object is valid.

Returns
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.