Yeah, it works, with lots of flashing.

Phil Larson

> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of Mike Blazer
> Sent: Friday, March 26, 1999 7:02 PM
> To: [EMAIL PROTECTED]
> Subject: Re: [perl-win32-gui] radio buttons & resizing window questions
> 
> 
> >         2. Also, someone just asked this but I'd also like to know
> >         the answer. How do you create a window which cannot be resized?
> 
> Hi Barry,
> in my program I needed not exactly this, but the window that cannot be
> smaller then some given size. Much the same, yeh?
> It looks like:
> 
> sub Window_Resize {
>    $W->Width ($W_MinWidth)  if $W->Width  < $W_MinWidth;
>    $W->Height($W_MinHeight) if $W->Height < $W_MinHeight;
>  1;
> }
>  so in your case it would probably be
> 
> sub Window_Resize {
>    $W->Width ($const_width);
>    $W->Height($const_height);
>  1;
> }
> 
> not tested but probably would work (with some flashing).
> 
> Otherwise you can use dialog box, it could not be resized by default.
> 
> 
> -- 
> ==================================
> Mike Blazer
> [EMAIL PROTECTED]
> http://www.dux.ru/guest/fno/perl/
> ==================================
> 

Reply via email to