by Andrew Saturn (2 Submissions)
Category: Graphics
Compatability: Visual Basic 3.0
Difficulty: Advanced
Date Added: Wed 3rd February 2021
Rating:
(4 Votes)

This code allows you to display PNG images within your programs with full 32 bit color (that is, 24 bit color with 8 bit alpha transparency). This will allow you to use "anti-aliased" images in your programs, making your graphics blend in to the interface perfectly, no matter what color the user has chosen for their interface. Code by Thomas Kabir (www.VBFrood.de). Posted here with permission. Requires ZLib for Windows and you must compile and register and re-reference the ActiveX DLL before attempting to use this. I've tried to include a compiled OCX and DLL, as well as a workling zlib.dll, but VBC won't let me. If VB won't compile correctly and\or you need any of them, email me.
Download PNG View (71 KB)