The FillRgn function fills a region by using the specified brush.
BOOL FillRgn(
HDC hdc, |
// handle to device context |
HRGN hrgn, |
// handle to region to be filled |
HBRUSH hbr |
// handle to brush used to fill the region |
); |
If the function succeeds, the return value is nonzero.
If the function fails, the return value is zero. To get extended error information, call GetLastError.
CreateBrushIndirect, CreateDIBPatternBrush, CreateHatchBrush, CreatePatternBrush, CreateSolidBrush, PaintRgn
file: /Techref/os/win/api/win32/func/src/f24_3.htm, 2KB, , updated: 2000/4/7 11:19, local time: 2024/11/12 16:38,
3.128.172.32:LOG IN
|
©2024 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions? <A HREF="http://linistepper.com/Techref/os/win/api/win32/func/src/f24_3.htm"> FillRgn</A> |
Did you find what you needed? |