my $icon = new Win32::GUI::Icon("tool.ico"); $trayicon = $Window->AddNotifyIcon(-name => "TrayIcon", -id=>1,-icon => $icon, -tip => "$title");