Hello "lazarentos",
I've an TTrayIcon instance and need to use the same icon defined in
the Application.Icon.
I've tried:
* TrayIcon.Assign(Application.Icon)
* TrayIcon.LoadFromResourceName(HInstance, 'trayicon'); // Included an
resource file with the icon i want
Both don't worked. No errors, but the TrayIcon.icon is empty.
* TrayIcon.LoadFromFile('icon.ico');
This worked. But I don't want to send an icon file with the installation.
Any sugestion?
Thank's for any help.
--
Timeo hominem unius libri
Cogito ergo sum - Carpe diem
[]s
Guionardo Furlan
http://guionardo.blogspot.com
_______________________________________________
Lazarus mailing list
[email protected]
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus