
This article has a two-fold purpose; One to show you an example of using the UpdateLayeredWindow function from Visual Basic. The other is to give you an example of using 32bpp bitmaps via the Windows GDI, which allows you to use per-pixel alpha blending for eye-catching effects..
This sample is based around a simple non-moveable form, that is semi-transparent (that is, you can see the windows desktop behind it). Go on, download, and browse through the code to get an understanding of the concepts presented. Hope you guys (and Gals) like it. Once again I must give all thanks to God my Father for guiding me throughout the entire development. Oh well, later.
Assumes
Remember, this code will only work under Windows 2000, and higher, although the code used to generate the 32bit bitmaps and perform alpha blending will also work under Windows 98.
BTW. You may want to compile the application before running it, in order to obtain a speed increate (but I'm sure you already knew that :) )