Hi,
I'm using this code with success:
$window->AddNotifyIcon(
-name => "notifyIcon",
-id => 1,
-icon => $Icon,
-tip => 'My application...'
);
to create the icon and:
Win32::GUI::NotifyIcon::Delete(
$window,
-id => 1,
);
placed after Win32::GUI::Dialog(), to remove the not
At 12:31 AM +0200 10/21/02, Johan Lindstrom wrote:
>I forget. Did we solve the problem where the tray
>icon stayed there a little while after program exit?
See the AmphetaDesk Windows.pm:
http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/amphetadesk/AmphetaDesk/
lib/AmphetaDesk/OS/Windows.pm?rev=1
I forget. Did we solve the problem where the tray icon stayed there a
little while after program exit?
My best solution now is to replace it with an invisible icon, like this:
Win32::GUI::NotifyIcon::Modify(
$win,
-id => 1,
-icon => undef,
3 matches
Mail list logo