BCGControlBar Pro for MFC
BOOL CBCGPRect::IntersectRect ( const CBCGPRect rt1,
const CBCGPRect rt2 
)
inline

Makes a CBCGPRect equal to the intersection of two existing rectangles.

Parameters
rt1The first source rectangle.
rt2The second source rectangle.
Returns
Nonzero if the intersection is not empty; 0 if the intersection is empty.