Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
CDC::FillRgn
Collapse the table of content
Expand the table of content

CDC::FillRgn

Fills the region specified by pRgn with the brush specified by pBrush.

BOOL FillRgn( 
   CRgn* pRgn, 
   CBrush* pBrush  
);

pRgn

A pointer to the region to be filled. The coordinates for the given region are specified in logical units.

pBrush

Identifies the brush to be used to fill the region.

Nonzero if the function is successful; otherwise 0.

The brush must either be created using the CBrush member functions CreateHatchBrush, CreatePatternBrush, CreateSolidBrush, or be retrieved by GetStockObject.

Header: afxwin.h

Show:
© 2015 Microsoft