by AlT (10 Submissions)
Category: Custom Controls/Forms/Menus
Compatability: VB Script
Difficulty: Intermediate
Date Added: Wed 3rd February 2021
Rating: (2 Votes)
Well, I only came up with 3 so far. Why you ask? Well, I downloaded this some time ago and thought it was a neat effect but what to use it for? Well, I found a little time to kill and went through all my downloaded code. I re-discovered this and decided to see if there was a fun way to make use of it. I found a couple and decided to resubmit this to VBC to see what some of you evil geniuses could do with it. If you got a little time to play, let's see what you got. ;-) Let's have some fun dammit....
My revisions:
Removed the intrinsic VB timer and added Paul Caton's timer class and a reference to the WinSubHook2 typelib included in the zip. In my opinion, Paul's code is one the most useful ever submitted to VBC. I have found a multitude of uses for it and it is simply awesome coding. Also, I formatted the code and changed variable names to my taste. Forgive me Ulli. Finally, I added a TripComplete event for use in my demo.
To use, make sure you have a reference to the WinSubHook2 typelib. If for some reason you can not see the effect, substitute the use of the Alphablend (msimg32.dll) API for the use of the GDIAlphablend (gdi32.dll) API call. The parameters are identical so you should only have to change the function name, uncomment the Alphablend api call, and comment the GDIAlphablend API call. Votes are not necessary but if you vote, they are Ulli's.....
API DeclarationsGDIAlphablend
Alphablend
Download Uses (101) for Ulli's KnightRider ActiveX Control (39 KB)