Microsoft Foundation Classes (mfc.hlp) (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
CDC::FillRgn
CDC                                         Up Contents Index Back
──Microsoft Foundation Classes──────────────────────────────────────────────
 
  BOOL FillRgn( CRgn* pRgn, CBrush* pBrush );
 
  Parameter   Description
 
  <pRgn>      Identifies the region to be filled. The coordinates for the
              given region are specified in device units.
 
  <pBrush>    Identifies the brush to be used to fill the region.
 
  Remarks
 
  Fills the region specified by <pRgn> with the brush specified by
  <pBrush>.
 
  Return Value
 
  TRUE if the function is successful or FALSE if an error occurs.
 
  See Also
 
  CRgn, CDC::PaintRgn, CBrush, ::FillRgn
 
 
                                     -♦-