BCGSuite for MFC
bool CBCGPRect::IsRectEmpty ( ) const
inline

Determines whether CRect is empty.

A rectangle is empty if the width and/or height are 0 or negative. Differs from CBCGPRect::IsRectNull, which determines whether all coordinates of the rectangle are zero.

Returns
TRUE if rectangle is empty, FALSE if not.