Edge Scan
Scan for the edge of a bitmap to create a transparent region. Scans the edge of a bitmap and creates a polygon region. Use it to create odd-shaped forms. It does not scan for "internal" transparent areas - only the edge. The background color needs to be unique. Also shows how to allow form dragging without a caption.
About this post
Posted: 2017-07-19
By: BlackBeltVB
Viewed: 411 times
Categories
Attachments
EDGESCAN.ZIP
Posted: 7/19/2017 8:00:03 AM
Size: 50,384 bytes
Requirements
This code originally appeared on BlackBeltVB.com, and has been republished here with the permission of Matt Hart.
Special Instructions
Uses the following API functions:
- CreatePolygonRgn
- DeleteObject
- GetPixel
- ReleaseCapture
- SendMessage
- SetPixel
- SetWindowRgn
Loading Comments ...
Comments
No comments have been added for this post.
You must be logged in to make a comment.