Page 1 of 1

How to make sure icon is shown in Task Manager

Posted: Sat Sep 21, 2024 3:39 pm
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...

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

Posted: Sat Sep 21, 2024 5:12 pm
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?

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

Posted: Sat Sep 21, 2024 5:22 pm
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.