in reply to Re: System tray application
in thread System tray application
Also I have found an example where with Win32::GUI the entire taskbar can be hidden:use strict; use Win32::SysTray; my $tray = new Win32::SysTray ( 'icon' => '/Icons/Application.ico', 'single' => 1, ) or exit 0; $tray->setMenu ( "> &Test" => sub { print "Hello from the Tray\n"; }, ">-" => 0, "> E&xit" => sub { return -1 }, ); $tray->runApplication;
Since building Gtk2 may be beyond my capabilities on the other hand Win32::GUI is already available and seems to have similar capabilities I ask:use Win32::GUI; my $taskbar = Win32::GUI::FindWindow("Shell_TrayWnd", ""); Win32::GUI::Hide($taskbar); sleep(3); Win32::GUI::Show($taskbar);
Can't open gtk_bundle/lib/pkgconfig/libglade-2.0.pc: No such file or d +irectory. Error GETing http://www.gtk.org/download-windows.html: Not Found at gt +kinst.pl line 113
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: System tray application
by Anonymous Monk on Jan 29, 2012 at 19:20 UTC | |
by chessgui (Scribe) on Jan 29, 2012 at 19:38 UTC | |
by Anonymous Monk on Jan 29, 2012 at 19:40 UTC | |
by Anonymous Monk on Jan 29, 2012 at 19:48 UTC |