Re: [perl-win32-gui-users] NotifyIcon doesn't go away on program exit

2002-10-20 Thread Luigino Masarati
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

Re: [perl-win32-gui-users] NotifyIcon doesn't go away on program exit

2002-10-20 Thread Morbus Iff
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

[perl-win32-gui-users] NotifyIcon doesn't go away on program exit

2002-10-20 Thread Johan Lindstrom
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,