How to create a form that is shaped around a bitmap
Tutorials Shared by the Internet Community
Total Hits - 36112
Total Votes - 110 votes
Vote Up - 48 votes
Vote Down - 62 votes
Domain - www.delphi-central.com
Category - Delphi/Image Processing
Submitted By - Shekhar
Submitted on - 2008-04-16 06:37:48
This article comes thanks to Gerard Oei who provided the Delphi source code.
We have already done a tutorial on how to create non-rectangular windows. This tutorial shows how to create a form that is shaped around a bitmap. Like the previous tutorial it uses the SetWindowRGN function. The clever part here is how the region is created. More detail...