DWT Forms Icons

Frank Benoit keinfarbton at googlemail.com
Sun Sep 7 18:51:31 PDT 2008

torhu schrieb:
> I think there's a way to get the resource data for the icon by using the
> Windows API, but I didn't bother to figure it out.  I just used the
> import("icon.png") trick.  Of course, that means you have to include the
> image file twice in the execuable...

Why do you need to load it twice?
If I use shell.setImage it is visible in both, the taskbar and the
window title. I do not use/link the icon as a windows resource.

More information about the Digitalmars-d-dwt mailing list