How to create a form that is shaped around a bitmap

Tutorials Shared by the Internet Community

Advertisements


How to create a form that is shaped around a bitmap

This article comes thanks to Gerard Oei who provided the Delphi source code.

Statistics

  • Total Hits - 36966

  • Total Votes - 112 votes

  • Vote Up - 49 votes

  • Vote Down - 63 votes

  • Domain - www.delphi-central.com

  • Category - Delphi/Image Processing

  • Submitted By - Shekhar

  • Submitted on - 2008-04-16 06:37:48

Description

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.

Source Website

Please use the following link to visit the site. There is a possibility that this content has been removed from the given URL or may be this site has been shut down completely.

http://www.delphi-central.com/BitmapShapedForm.aspx

Broken  |   Save  |   Liked  |   Down

Advertisements