Hello, Subject a little confusing but I could not think on something better. I try to explain. I have a little application that does basically not mutch more than displaying a tray icon. A click on it let it take action. I try to minimize the size of the executable, it is around 14 KB, so that looks good :)
The problem is the Icon. I can eventually load an icon at runtime, but I like it to have at compile time (then the image file has not to be distributed). If I try this: IconData.hIcon := LoadImage(hInst, 'MAINICON', IMAGE_ICON, 16, 16, LR_DEFAULTCOLOR); Then the default Delphi Icon is loaded, but I cannot change. Any idea how to do this ? I'm using Delphi 7. -- Best regards, Wilfried http://www.mestdagh.biz _______________________________________________ Delphi mailing list -> [email protected] http://www.elists.org/mailman/listinfo/delphi

