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
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
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
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
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:
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
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
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,
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:
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
Hi all,
Opening up the example project in /example directory, the project works fine.
However, when I add a TTrayIcon to the main form of my project (assigon icon,
etc) and execute TrayIcon.Visible := true, the icon doesn't appear in the system
tray.
Gain, the examples project does, but it
11 matches
Mail list logo