P
P
Pavel2019-11-07 10:31:22
Programming
Pavel, 2019-11-07 10:31:22

How to change the tray icon of the program?

For example, there is a punto switcher, I want to change its tray icon to .. well, let's say a green square is simple, is it possible or do I need to unpack the exe, which is impossible in this case?
In the registry, I searched, I did not find anything suitable, maybe I was looking badly ...

Answer the question

In order to leave comments, you need to log in

4 answer(s)
R
Ronald McDonald, 2019-11-07
@Zoominger

There are program resource editors, you don’t need to disassemble anything and g-nocode.

D
dollar, 2019-11-07
@dollar

Depends on the program whose icon you want to change and its architecture. For example, the same punto switcher changes the icon, depending on the settings and the situation. And I didn't look at exactly how he does it, he doesn't necessarily take an icon from a file or resources in an exe, he can "draw" it on the fly.
In theory, everything is possible. And there are two main ways. Either we somehow disassemble the program or we get its source codes and change it ourselves. Or we don’t touch the program, but hang a crutch on top in the form of another program that will somehow intercept the first one or even stupidly spam with green icons (the simplest solution), i.e. even if the icon changes, it will immediately be replaced by a green square again, but this is necessary so that its own self-written program sits in the background and controls the first one.
That is, in any case, most likely, you will need a software solution, and not change the value in the registry. It's just that the value can be changed only if the architecture of the program itself has such a setting, but it is rather meaningless, so it is unlikely that it exists.

A
Alexander Skusnov, 2019-11-07
@AlexSku

Very often, small images as resources are embedded in exe. The icons themselves are processed by the program.
https://docs.microsoft.com/en-us/windows/win32/she...

K
Konstantin Tsvetkov, 2019-11-07
@tsklab

There is a non-free program: PS Tray Factory .

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question