Drive Button Images

English support forum

Moderators: white, Hacker, petermad, Stefan2

Post Reply
adacom
Junior Member
Junior Member
Posts: 43
Joined: 2009-01-02, 14:46 UTC
Location: uk

Drive Button Images

Post by *adacom »

will start with an apology if this has been covered - i searched but could find nothing

is there a way to change the image on the drive buttons please
User avatar
petermad
Power Member
Power Member
Posts: 14787
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: Drive Button Images

Post by *petermad »

Right click an button and chose "Change..."
That is for button bar icons.

To change the drive buttons you can make a .dll file with the desired bitmaps (bmp) and then use this in the [Configuration] section of your wincmd.ini file:

Code: Select all

DriveLib=%COMMANDER_PATH%\drive_classic.dll
I have put two such drivelibs in https://madsenworld.dk/tcmd/drivelibs.zip for you

You can also use OldDriveIcons= in the [Configuration] section of your wincmd.ini file.
Help wrote: OldDriveIcons=0
1: Use old drive icons from TC 6.5x for drive button bar
2: Use drive icons from TC 7.x / 8.x
0: Use drive icons from Explorer
Last edited by petermad on 2023-01-16, 20:35 UTC, edited 1 time in total.
License #524 (1994)
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
Dalai
Power Member
Power Member
Posts: 9383
Joined: 2005-01-28, 22:17 UTC
Location: Meiningen (Südthüringen)

Re: Drive Button Images

Post by *Dalai »

2Stefan2
This is about drive buttons, not the regular buttons on the button bar.

2adacom
See TC help, section 4.b), options OldDriveIcons and DriveLib. Apart from that there's no way to change these icons, let alone unique icons for one specific drive if that's what you intended to do.

Regards
Dalai
#101164 Personal licence
Ryzen 5 2600, 16 GiB RAM, ASUS Prime X370-A, Win7 x64

Plugins: Services2, Startups, CertificateInfo, SignatureInfo, LineBreakInfo - Download-Mirror
User avatar
Stefan2
Power Member
Power Member
Posts: 4153
Joined: 2007-09-13, 22:20 UTC
Location: Europa

Re: Drive Button Images

Post by *Stefan2 »

He colleagues, I had already removed my mistake answer :D
and wanted to change it to:


Press F1 and read "Configuration and Switches >Ini file Settings"

DriveLib= Load icons for the drive buttons from the DLL file specified.
DriveLib.bak= Backup of user-defined drive library from DriveLib= option. Moved here when user checks the option "Show drive icons from Explorer".


Google for tc and DriveLib= to find more help, e.g. to find
https://totalcmd.net/plugring/drives_icons_1.0.html








 
User avatar
petermad
Power Member
Power Member
Posts: 14787
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: Drive Button Images

Post by *petermad »

You could use drive850.dll in https://madsenworld.dk/tcmd/drivelibs.zip as a template and then use Resource Hacker ( http://www.angusj.com/resourcehacker/ ) to replace the bitmaps.
License #524 (1994)
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Post Reply