Re: [lazarus] TTrayIcon problem

2008-02-11 Thread Felipe Monteiro de Carvalho
you can also check the example at your local lazarus dir. I think it's something like lazarus/examples/trayicon -- Felipe Monteiro de Carvalho _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the

Re: [lazarus] TTrayIcon problem

2008-02-11 Thread Felipe Monteiro de Carvalho
FWIW, I use XN Resource Editor to create my main form icon to show in windows and that seems to work fine (as does windres for creating the resource) so I wonder if its anything to to do with using windres or not ?? Ok, the last difference that I see from here between your project and the

Re: [lazarus] TTrayIcon problem

2008-02-11 Thread Lee Jenkins
Felipe Monteiro de Carvalho wrote: On Feb 11, 2008 3:56 PM, Lee Jenkins [EMAIL PROTECTED] wrote: M:\lazarus\projects\maestrom:\lazarus\IDE\fpc\2.2.0\bin\i386-win32\windres -i M :\lazarus\projects\maestro\tray.rc -o m:\lazarus\projects\maestro\tray.res gcc: installation problem, cannot exec

Re: [lazarus] TTrayIcon problem

2008-02-11 Thread Felipe Monteiro de Carvalho
On Feb 11, 2008 3:56 PM, Lee Jenkins [EMAIL PROTECTED] wrote: M:\lazarus\projects\maestrom:\lazarus\IDE\fpc\2.2.0\bin\i386-win32\windres -i M :\lazarus\projects\maestro\tray.rc -o m:\lazarus\projects\maestro\tray.res gcc: installation problem, cannot exec `cpp': No such file or directory

Re: [lazarus] TTrayIcon problem

2008-02-11 Thread Lee Jenkins
Felipe Monteiro de Carvalho wrote: TIcon isn't fully implemented on Windows so it doesn't give a HICON handle that TTrayIcon needs. See bug report: http://bugs.freepascal.org/view.php?id=10305 The wiki page explains how to make TTrayIcon work everywhere:

Re: [lazarus] TTrayIcon problem

2008-02-11 Thread Lee Jenkins
Felipe Monteiro de Carvalho wrote: On Feb 11, 2008 2:43 PM, Lee Jenkins [EMAIL PROTECTED] wrote: I simply added another icon to the resource and called it 101, but obviously that is not the way to go. Must the icon be in its own resource file or can it be placed in the existing resource file I

Re: [lazarus] TTrayIcon problem

2008-02-11 Thread Felipe Monteiro de Carvalho
On Feb 11, 2008 2:43 PM, Lee Jenkins [EMAIL PROTECTED] wrote: I simply added another icon to the resource and called it 101, but obviously that is not the way to go. Must the icon be in its own resource file or can it be placed in the existing resource file I already have? I think that

Re: [lazarus] TTrayIcon problem

2008-02-11 Thread Felipe Monteiro de Carvalho
TIcon isn't fully implemented on Windows so it doesn't give a HICON handle that TTrayIcon needs. See bug report: http://bugs.freepascal.org/view.php?id=10305 The wiki page explains how to make TTrayIcon work everywhere: http://wiki.lazarus.freepascal.org/TrayIcon#Demonstration_program_1 thanks,

Re: [lazarus] TTrayIcon problem

2008-02-11 Thread Lee Jenkins
Felipe Monteiro de Carvalho wrote: TIcon isn't fully implemented on Windows so it doesn't give a HICON handle that TTrayIcon needs. See bug report: http://bugs.freepascal.org/view.php?id=10305 The wiki page explains how to make TTrayIcon work everywhere:

Re: [lazarus] TTrayIcon problem

2008-02-11 Thread Lee Jenkins
Felipe Monteiro de Carvalho wrote: On Feb 11, 2008 3:56 PM, Lee Jenkins [EMAIL PROTECTED] wrote: M:\lazarus\projects\maestrom:\lazarus\IDE\fpc\2.2.0\bin\i386-win32\windres -i M :\lazarus\projects\maestro\tray.rc -o m:\lazarus\projects\maestro\tray.res gcc: installation problem, cannot exec