Lisp HUG Maillist Archive

application icon in delivered win32 app

Hi,

The icon I set via :icon-file keyword is not displayed in Explorer in Windows, only on a title bar. Is there any other way to set the executable file icon visible in Explorer?

BR,
/Alexey

Re: application icon in delivered win32 app

Alexey Veretennikov wrote on Sat, 29 Dec 2018 20:22:39 +0100 22:22:

| The icon I set via :icon-file keyword is not displayed in Explorer in
| Windows, only on a title bar. Is there any other way to set the
| executable file icon visible in Explorer?

I would recommend the following:

1) provide both small (16x16) and standard (32x32) device images,
2) use only the standard 16-color palette in the ICO-file.
--
Sincerely,
Dmitry Ivanov
lisp.ystok.ru

_______________________________________________
Lisp Hug - the mailing list for LispWorks users
lisp-hug@lispworks.com
http://www.lispworks.com/support/lisp-hug.html

Re: application icon in delivered win32 app

Thanks!

After experimenting with the correct icon, I found out that the Windows 10 Explorer apparently somehow caches icons of the applications in the folder. So after copying the executable to another folder the icon became visible properly. Hope this helps to anyone else who happened to get this problem.

On Sun, Dec 30, 2018 at 5:51 AM Dmitry <dmitry502@list.ru> wrote:
Alexey Veretennikov wrote on Sat, 29 Dec 2018 20:22:39 +0100 22:22:

| The icon I set via :icon-file keyword is not displayed in Explorer in
| Windows, only on a title bar. Is there any other way to set the
| executable file icon visible in Explorer?

I would recommend the following:

1) provide both small (16x16) and standard (32x32) device images,
2) use only the standard 16-color palette in the ICO-file.
--
Sincerely,
Dmitry Ivanov
lisp.ystok.ru
Updated at: 2020-12-10 08:29 UTC