CDC::PaintRgn

Fills the region specified by pRgn using the current brush.

BOOL PaintRgn(
   CRgn* pRgn 
);

Parameters

  • pRgn
    Identifies the region to be filled. The coordinates for the given region are specified in logical units.

Return Value

Nonzero if the function is successful; otherwise 0.

Requirements

Header: afxwin.h

See Also

Reference

CDC Class

Hierarchy Chart

CBrush Class

CDC::SelectObject

CDC::FillRgn

PaintRgn

CRgn Class

Other Resources

CDC Members