Search Tools Links Login

Self updaing transparent / translucent form

Self updaing transparent / translucent form. It's cthru!
(Expanded on Kevin Tupper's and BoS's work.)

Original Author: Brian Kurtyka


cthru - (0-255) - set opacity


- The two "SetWindowPos" routines are cranky. They don't want to accept variables as their sizes. The numbers have to be hard coded in at design time.
- In the "Paint" routine you'll need to rem out some statements depending on whether the form will have a border or not. (It's clearly marked)
- Msimg32.dll & Alphablending.dll are in the zip. If your computer does not have these files you may need to install them before running the project.
- Next I want to include region clipping so I can round off the edges of the window. I have no idea if this will affect the blending routine.


Make the specified form cthru!

Side Effects

The form flickers slightly while it hides it self to take the clean snapshot of the background.

About this post

Posted: 2002-06-01
By: ArchiveBot
Viewed: 101 times


Visual Basic 6

Posted: 9/3/2020 3:45:00 PM
Size: 15,091 bytes

Loading Comments ...


No comments have been added for this post.

You must be logged in to make a comment.