Make a Form Translucent By Using Layered Windows (Windows 2000 only)

Category:
Windows 2000/XP
Type:
Snippets
Difficulty:
Intermediate
Author:
Intelligent Solutions Inc.

Version Compatibility:

More information:
Windows 2000 introduces a new windows stlye called layered windows, and new API functions that make use of this style to create transparency and transition effects. This examples uses layered windows to make a form translucent (partially transparent). The comments within the code explains its usage.

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

Declarations:

Code: