int GetRgnBox( LPRECT lpRect ) const;
Return Value
Specifies the region’s type. It can be any of the following values:
Parameters
lpRect
Points to a RECT structure or CRect object to receive the coordinates of the bounding rectangle. The RECT structure has the following form:
typedef struct tagRECT {
int left;
int top;
int right;
int bottom;
} RECT;
Remarks
Retrieves the coordinates of the bounding rectangle of the CRgn object.
Example
See the example for CRgn::CreatePolygonRgn.
CRgn Overview | Class Members | Hierarchy Chart
See Also ::GetRgnBox