How to make sure icon is shown in Task Manager

Everything else that doesn't fall into one of the other PB categories.
User avatar
jacdelad
Addict
Addict
Posts: 2010
Joined: Wed Feb 03, 2021 12:46 pm
Location: Riesa

How to make sure icon is shown in Task Manager

Post by jacdelad »

Hi,
This is not really important, but I want to ask it anyway. I have created a program which also has an icon included (via compiler options) which is also shown to all windows it creates. However, in the Task Manager the icon is not shown, at least not for the root of the entry:
Image
Is there anything I additionally have to do make it appear? I'm using Windows 11 x64 and PB 6.12. It annoys my inner Monk a bit...
Good morning, that's a nice tnetennba!

PureBasic 6.21/Windows 11 x64/Ryzen 7900X/32GB RAM/3TB SSD
Synology DS1821+/DX517, 130.9TB+50.8TB+2TB SSD
Little John
Addict
Addict
Posts: 4789
Joined: Thu Jun 07, 2007 3:25 pm
Location: Berlin, Germany

Re: How to make sure icon is shown in Task Manager

Post by Little John »

Hi,

I can't confirm the issue here, also using PB 6.12 LTS (x64) – downloaded on 2024-09-20 (Fred made a silent update) – on Windows 11.
Are you using an .ICO file that contains 4 versions of the icon with the resolutions 16x16, 32x32, 48x48, and 256x256?
User avatar
jacdelad
Addict
Addict
Posts: 2010
Joined: Wed Feb 03, 2021 12:46 pm
Location: Riesa

Re: How to make sure icon is shown in Task Manager

Post by jacdelad »

Hi Little John,
yes I do. Even some more sizes. Could be thing with threads or something. I don't think it's "directly" a PureBasic related thing.
...and also not really important. I was just curious and sometimes someone instantly knows why.
Good morning, that's a nice tnetennba!

PureBasic 6.21/Windows 11 x64/Ryzen 7900X/32GB RAM/3TB SSD
Synology DS1821+/DX517, 130.9TB+50.8TB+2TB SSD
Post Reply