by Bruce Fast (3 Submissions)
Category: Custom Controls/Forms/Menus
Compatability: Visual Basic 5.0
Difficulty: Intermediate
Date Added: Wed 3rd February 2021
Rating:
(3 Votes)
This source is an example of how you can take any picture, declare a 'transparent' color and make a shaped form (skin) from it.
It's simple, complete, and it WORKS!
API DeclarationsSetWindowRgn
DeleteObject
CreateCompatibleDC
SelectObject
GetObject
CreateRectRgn
CombineRgn
DeleteDC