Jenda,

Thanks.    That did the trick.

Felice




"Jenda Krynicky" <[EMAIL PROTECTED]> on 10/28/99 11:49:57 AM

Please respond to [EMAIL PROTECTED]

To:   [EMAIL PROTECTED]
cc:    (bcc: Felice Vittoria/Aut/Schneider)
Subject:  Re: [perl-win32-gui] Win32::GUI::Graphic sample (oclock.pl)




> Hello all,
>
> First, Aldo....cool clock :)
>
> Second, I don't know if this has something to do with GUI build 425 or what
> but
> when I run the oclock.pl program and minimize the window, it seems as
> though the
> window is being closed and not minimized.    That is, I do not see it in my
> task
> list.

Yes it does the same for me. Seems that Win32::GUI::Resize can't
acept zeroes as the second and third parameter (that's what
$Window->ScaleWidth gives you when the window is minimized).

Just add this

    return unless $Window->ScaleWidth;

into
     sub Window_Resize {

as the first statement.

Jenda
== [EMAIL PROTECTED] == http://Jenda.Krynicky.cz ==
 The phenomenon of UFO doesn't say anything about
    the presence of intelligence in space.
  It just shows how rare it is here on the earth.
                                    A.C.Clarke







Reply via email to