How to work with regions
Create complex shapes and detect mouse movements and clicks within them.
Uses the following API functions:
- CreateBrushIndirect
- CreateEllipticRgn
- CreatePen
- CreatePolygonRgn
- CreateRectRgn
- CreateRoundRectRgn
- DeleteObject
- GetCurrentObject
- PaintRgn
- PtInRegion
- ReleaseCapture
- SelectObject
- SetCapture
Back to Code Samples
Copyright © 2000 by Matt E. Hart, All Rights Reserved Worldwide.
Nothing on this web site may be reproduced, in any form, without express written consent.