CDC::GetClipBox 

virtual int GetClipBox( LPRECT lpRect ) const;

Return Value

The clipping region’s type. It can be any of the following values:

Parameters

lpRect

Points to the RECT structure or CRect object that is to receive the rectangle dimensions.

Remarks

Retrieves the dimensions of the tightest bounding rectangle around the current clipping boundary. The dimensions are copied to the buffer pointed to by lpRect.

CDC OverviewClass MembersHierarchy Chart

See Also   CDC::SelectClipRgn, ::GetClipBox, RECT