I've updated my drivebmp.dll, and I noticed that the DISKNETHOOD icon isn't transparent even though the background color is equal to the upper left pixel, which should indicate which color to use as transparent color.
This "bug" also exists in Total Commander 8.01.
Image: http://members.home.nl/cap-team/got/drivebuttons.png
-Icon in DRIVEBMP.DLL not transparent
Moderators: Hacker, petermad, Stefan2, white
- sqa_wizard
- Power Member
- Posts: 3893
- Joined: 2003-02-06, 11:41 UTC
- Location: Germany
- ghisler(Author)
- Site Admin
- Posts: 50541
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
I edited the DLL myself, originally I got it from here somewhere.
Just some icons aren't transparent, what should I do to fix that?
Just some icons aren't transparent, what should I do to fix that?
Instructions from Christian:
__________transmission_from_clipboard____________
OK, it's a bit tricky. Here are the instructions:
To replace the drive bitmaps in Total Commander, please do the following:
1. Unpack this 32-bit DLL drivebmp.dll to a directory on your harddisk
2. Change it with a resource editor to your needs. The DLL contains bitmaps,
not icons! Important: The upper left pixel determines the transparent color!
3. Put the following line in your wincmd.ini, section [Configuration]:
drivelib=c:\<path to library>\drvbmps.dll
4. Restart Total Commander
This function requires Total Commander 6.0 or newer!
If you don't have a resource editor, you can send me the images, and I will create the DLL for you. The images need to bitmaps (not icons) of any color depth, size 16x16. The upper left pixel color determines which color is transparent.
Sorry, but Delphi uses such bitmaps for its buttons.
______________end_of_transmission________________
- ghisler(Author)
- Site Admin
- Posts: 50541
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Normally the color of the top-left pixel determines the color which is transparent. But this seems to be the case here too! Maybe it's a bottom-up bitmap, then it would be the bottom left pixel(?).
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com