VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



Self updaing transparent / translucent form

by Brian Kurtyka (1 Submission)
Category: Custom Controls/Forms/Menus
Compatability: Visual Basic 3.0
Difficulty: Advanced
Date Added: Wed 3rd February 2021
Rating: (5 Votes)

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

Inputs
cthru - (0-255) - set opacity
Assumes
- 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.
Code Returns
Make the specified form cthru!
Side Effects
The form flickers slightly while it hides it self to take the clean snapshot of the background.

Rate Self updaing transparent / translucent form

Download Self updaing transparent / translucent form

Download Self updaing transparent / translucent form (15 KB)

Self updaing transparent / translucent form Comments

No comments have been posted about Self updaing transparent / translucent form. Why not be the first to post a comment about Self updaing transparent / translucent form.

Post your comment

Subject:
Message:
0/1000 characters