Using a parent window that is never shown does indeed avoid a task
in the task bar.
Thank you Glenn.
> -----Original Message-----
> From: Glenn Linderman [mailto:GlennLinderman2@...]
> Sent: Wednesday, March 12, 2003 12:28 PM
> To: Hoff
> Subject: Re: [perl-win32-gui-users] Suppressing task bar button
> On approximately 3/12/2003 6:55 AM, came the following characters
> the keyboard of Hoff:
> > My script uses a system tray icon but also makes a blank
> button in the
> > task bar. Can this button be hidden?
> Just take out the code that creates it!
> Actually, it is not clear from your question where the blank button
> is.... if an extra blank system tray icon, you must be
> somehow creating
> two, as the default is to have none.
> If you mean a blank task entry in the task bar (you used that
> word, but
> many misuse it), then you must have explicitly made it
> blank.... but you
> can remove it by creating a window, making your main window have
> other window as a parent window, and then deleting that other
> Only parent/independent windows show on the task bar. By making
> main window have a parent, it doesn't show on the task bar.
> Or, if you want your main window to show on the task bar
> sometimes, when
> it is hidden and disabled, it will vanish from the task
> bar, allowing
> the system tray icon to be the only thing showing.
> If the grass is greener on the other side of the fence,
> try taking better care of your own side. -- Unknown
When changing the tip of a notifyicon item perl crashes if the tip is mor=
than 65 chars. Is this a known limit or a bug? Or has no one else tried
to make a tip that big :) I am on w2k, Activeperl 629(5.6.1),GUI 0.0.558=
Also, in the following example I get a 'Modification of a read-only value
attempted at line 30' why? This works in my full script(if the tip is
$icon =3D new Win32::GUI::Icon('c:/3.ico');
$version =3D Win32::GUI::Version;
my $Window =3D new Win32::GUI::Window (
-name =3D> "Window",
-left =3D> 300,
-dialogui =3D> 1,
-top =3D> 100,
-left =3D> 100,
-width =3D> 400,
-height =3D> 400,
-text =3D> 'test1',
my $ni =3D $Window->AddNotifyIcon(
-name =3D> "NI",
-id =3D> 1,
-icon =3D> $icon,
-tip =3D> "Scheduler Status Unknown"
$tip =3D 'llllllllllllllllllllllllllllllllllllllllllllllllllllllllllll333=
print length $tip;
$Window->NI->Modify( -tip =3D> $tip); # line 30
Nathaniel G. Bartusiak
TTMS, Keesler AFB