Export (0) Print
Expand All
Expand Minimize
This topic has not yet been rated - Rate this topic


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

BOOL FillRgn( 
   CRgn* pRgn, 
   CBrush* pBrush  

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


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

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
© 2014 Microsoft. All rights reserved.