Paul,
Add the following option to your window constructor:
-style => WS_SYSMENU | WS_NORESIZE,
and that should do what you want.
Jonathan
----- Original Message -----
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, October 20, 2000 11:31 AM
Subject: [perl-win32-gui] Setting a window to "no resize"
> Hi All
>
> First a quick intro since this is my 1st post :
>
> I'm Paul, a Senior Systems Engineer for a large UK telecoms company. I've been
> playing with perl on un*x for a couple of years now and love it to bits. Having
> recently taken on some NT based projects I was very happy to see a strong perl
> showing and have installed ActiveState 618 here. I just got Win32::Gui a couple
> of days ago and have been hacking ever since :-)
>
> OK now that I know every one here's my question.
>
> I'm using the Gui to write a frontend to an existing perl program. Since the gui
> will be very small, I don't want to go to the trouble of resizing all my
> elements if the window is resized, I'd much rather make the window no resize. I
> have a solution in the window constructor :
>
> ...
> -maxsize => [n,n]
> -minsize => [n,n]
> ...
>
> I was wondering if there was simply a no resize option which can be set ?
>
> TIA
>
> PaulB
>
>
>
> *******************************************************************************
> Important. This E-mail is intended for the above named person and may be
> confidential and/or legally privileged. If this has come to you in error you
> must take no action based on it, nor must you copy or show it to anyone; please
> inform the sender immediately.
> *******************************************************************************
>