Old icon "search as seperate process..." In taskbar. Bug or not?
Moderators: Hacker, petermad, Stefan2, white
Old icon "search as seperate process..." In taskbar. Bug or not?
If you run the search as seperate process... then on the taskbar you get the old TC icon, i.e. it doesn't read from the specified file in IconLib="".
Re: Old icon "search as seperate process..." In taskbar. Bug or not?
Confirmed - but it has always been like that.
License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
- ghisler(Author)
- Site Admin
- Posts: 50383
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: Old icon "search as seperate process..." In taskbar. Bug or not?
Unfortunately Windows itself decides which icon it will use in the task bar. I cannot control it.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Re: Old icon "search as seperate process..." In taskbar. Bug or not?
[OT]
Just a note:
Search... Alt+F7 -> shows the IconLib=... icon
[/OT]
Just a note:
Search... Alt+F7 -> shows the IconLib=... icon
[/OT]
Last edited by tuska on 2024-12-07, 22:38 UTC, edited 1 time in total.
Re: Old icon "search as seperate process..." In taskbar. Bug or not?
...
Last edited by tuska on 2024-12-07, 22:35 UTC, edited 1 time in total.
Re: Old icon "search as seperate process..." In taskbar. Bug or not?
2tuska
The OP asked about separate search, i.e. Alt+Shift+F7, not Alt+F7. I agree about the post's tone though.
The OP asked about separate search, i.e. Alt+Shift+F7, not Alt+F7. I agree about the post's tone though.
#101164 Personal licence
Ryzen 5 2600, 16 GiB RAM, ASUS Prime X370-A, Win7 x64
Plugins: Services2, Startups, CertificateInfo, SignatureInfo, LineBreakInfo - Download-Mirror
Ryzen 5 2600, 16 GiB RAM, ASUS Prime X370-A, Win7 x64
Plugins: Services2, Startups, CertificateInfo, SignatureInfo, LineBreakInfo - Download-Mirror
Re: Old icon "search as seperate process..." In taskbar. Bug or not?
Moderator message from: white » 2024-12-07, 19:35 UTC
Deleted 2 inappropriate post by EvgenyUA in this thread. They are soft deleted for now, which means that moderators can still view the posts.
2EvgenyUA
Please follow forum rules. Do not throw insults or use inappropriate language.
2EvgenyUA
Please follow forum rules. Do not throw insults or use inappropriate language.
Re: Old icon "search as seperate process..." In taskbar. Bug or not?
Yes, I know.Dalai wrote: 2024-12-07, 19:05 UTC 2tuska
The OP asked about separate search, i.e. Alt+Shift+F7, not Alt+F7. ...
On the one hand, I wanted to point out that there is another way to display the desired icon.
On the other hand, I had considered setting my post as [OT] [/OT] which I have now done this so that there is no ambiguity.
- ghisler(Author)
- Site Admin
- Posts: 50383
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: Old icon "search as seperate process..." In taskbar. Bug or not?
I can set the icon from the icon library in the title bar, but this will only affect the task bar as long as Total Commander hasn't been pinned to the task bar.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Re: Old icon "search as seperate process..." In taskbar. Bug or not?
I hope you do it twice?
HICON hIconSmall =(HICON)LoadImage(handleToYourApplicationInstance, MAKEINTRESOURCE(IDI_ICON1), IMAGE_ICON,16, 16, 0);
HICON hIconLarge =(HICON)LoadImage(handleToYourApplicationInstance, MAKEINTRESOURCE(IDI_ICON1), IMAGE_ICON,256, 256, 0); // Big for task bar, small loaded otherwise.
SendMessage(yourWindowHandle, WM_SETICON, ICON_SMALL, (LPARAM)hIconSmall) ;
SendMessage(yourWindowHandle, WM_SETICON, ICON_BIG, (LPARAM)hIconLarge) ;
HICON hIconSmall =(HICON)LoadImage(handleToYourApplicationInstance, MAKEINTRESOURCE(IDI_ICON1), IMAGE_ICON,16, 16, 0);
HICON hIconLarge =(HICON)LoadImage(handleToYourApplicationInstance, MAKEINTRESOURCE(IDI_ICON1), IMAGE_ICON,256, 256, 0); // Big for task bar, small loaded otherwise.
SendMessage(yourWindowHandle, WM_SETICON, ICON_SMALL, (LPARAM)hIconSmall) ;
SendMessage(yourWindowHandle, WM_SETICON, ICON_BIG, (LPARAM)hIconLarge) ;
#146217 personal license
- ghisler(Author)
- Site Admin
- Posts: 50383
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: Old icon "search as seperate process..." In taskbar. Bug or not?
Yes, that's how I handle it in the main window too.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Re: Old icon "search as seperate process..." In taskbar. Bug or not?
So this is another bug of the selected programming framework. It’s too old and it doesn’t seem to be updated conceptually.
If you do these operations for a project, compiled in VisualStudio 2019 for example, no wrong icons for created and opened by
analogy with "search as seperate process..." - just not. The correct icon is always displayed.
If you do these operations for a project, compiled in VisualStudio 2019 for example, no wrong icons for created and opened by
analogy with "search as seperate process..." - just not. The correct icon is always displayed.
#146217 personal license
- ghisler(Author)
- Site Admin
- Posts: 50383
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: Old icon "search as seperate process..." In taskbar. Bug or not?
Why do you think that? The programming environment knows nothing of the user-defined icon library (via IconLib=). And the taskbar limitation of pinned programs having the main icon isn't the fault of the compiler either.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
- ghisler(Author)
- Site Admin
- Posts: 50383
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: Old icon "search as seperate process..." In taskbar. Bug or not?
I'm now using the redefined icons for search, synchronize dirs, and compare by content (but NOT for Lister), please check it.
10.12.24 Fixed: Synchronize dirs, compare by content: Set icon in title bar correctly when using external icon library (32/64)
08.12.24 Fixed: Find files, search in separate process: Set icon in title bar correctly when using external icon library (32/64)
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Re: Old icon "search as seperate process..." In taskbar. Bug or not?
These are my test results with 11.50RC2 with:
wincmd.ini - [Configuration] - IconLib=C:\totalcmd\Tools\FS_Capture_portable\FSCapture.exe
Windows 11 Pro (x64) Version 24H2 (OS Build 26100.2605) - 2024-12-10
wincmd.ini - [Configuration] - IconLib=C:\totalcmd\Tools\FS_Capture_portable\FSCapture.exe
Code: Select all
x64 dark x64 normal x86 dark x86 normal
----------------------------------------------------------------------------------------------------------------
1. Find files, search in separate process ................... OK (A) OK (A) OK (A) OK (A)
2. synchronize dirs ......................................... (B) (B) (B) (B)
3. sync dirs - compare by content (but NOT for Lister) ...... (C) (C) (C) (C)
Code: Select all
(A) Works: Search in separate process... Alt+Shift+F7; em_commands
----------------------------------------------------------------------------------------------------------------
(B) Works: cm_FileSync, %COMMANDER_EXE% /S=S:= "%X%Z%P" "%T" /O=%WL
Does NOT work:
- em_commands
- %COMMANDER_EXE% /S=S:=.D-I - OR - %COMMANDER_EXE% /S=S:=.C-totalcmd_D-Totalcmd
----------------------------------------------------------------------------------------------------------------
(C) Works: cm_FileSync, Compare...
Does NOT work:
- Ctrl+F3: Compare left & right -> The TC icon(!) is displayed in the “Compare contents” window instead of the FSC icon.
Windows 11 Pro (x64) Version 24H2 (OS Build 26100.2605) - 2024-12-10