Use a Bitmap to Create a Skinnable Irregular-Shaped Form II

Category:
Screen/Graphics
Type:
Applications
Difficulty:
Intermediate

Author: Anonymous

Version Compatibility: Visual Basic.NET

More information:
If you would like to use a custom bitmap ("skin") to be used for your application, this example contains the code to make it happen. You can also drag the form by clicking on it anywhere. Right-clicking will quit the application. This is an update to Elad Rosenheim's entry for VB5/VB6.

Instructions: Copy the declarations and code below and paste directly into your VB project.

Declarations:

Code: