Maybe, just maybe, this will work.  Add the following to your window
declaration:

 -minsize=> [$minwidth,$minheight],
 -maxsize=> [$maxwidth,$maxheight],

I know the -minsize works because I use it in one of my programs but never
tried the maxsize.

----- Original Message -----
From: "Erick J. Bourgeois" <[EMAIL PROTECTED]>
To: <perl-win32-gui-users@lists.sourceforge.net>
Sent: Monday, January 22, 2001 3:44 PM
Subject: Re: [perl-win32-gui-users] Resizing


> I added the resizable option, however it still does not
> work:
>
> $MainWin = new Win32::GUI::Window(
>     -name     => "MainWin",
>     -text     => "Main Window",
>     -height   => 400,
>     -width    => 450,
>     -left     => 200,
>     -top      => 100,
>     -font     => $Font,
>     -menu     => $Menu,
>     -resizable   => 0,
>
> );
>
>
>
> _______________________________________________
> Perl-Win32-GUI-Users mailing list
> Perl-Win32-GUI-Users@lists.sourceforge.net
> http://lists.sourceforge.net/lists/listinfo/perl-win32-gui-users
>


Reply via email to