Besides resizing the window, you need to move the other objects, using something like this:

$Window->Logo->Move($Window->ScaleWidth-325,0);

This is actual piece of code. It moves a bitmap 'Logo' 325 pixels to the left of the right side but does not move it up or down when the window is resized.

Here's one from the same script that moves it up and down but not left/right.


$Window->Status->Move(0, $Window->ScaleHeight-$Window->Status->Height);

HTH,
Pete


> -----Original Message-----
> From: Iain Reid [mailto:iain.reid@gp-w91005.wales.nhs.uk]
> Sent: Tuesday, September 03, 2002 10:50
> To: perl-win32-gui-users@lists.sourceforge.net
> Subject: [perl-win32-gui-users] Q: Resize problem maximising from
> windows toolbar
>
>
> [I'm new to to Win32::Gui so apologies if this is frequently asked. I
> have searched the web and looked in FAQs etc but without finding an
> answer]
>
> I have a simple window created using Loft. It has a few controls which
> move correctly when the window is resized (using the
> Win32::GUI::Resizer). I can resize correctly with the drag handle
> (bottom right).
>
> If I minimise the window then maximize it from the toolbar I get a
> fullscreen window but controls positioned as they were before I
> minimised. It seems as if the maximised window dimensions don't get
> passed to the resizer. Within the maximize event the scalewidth and
> scaleheight are both zero. It seems that the windows gets
> maximized but
> the controls only restored.
>
> Is this a known problem? It affects the Loft example code as well. Is
> there an accepted workaround?
>
> Ta, Iain
>
>
>
>
> -------------------------------------------------------
> This sf.net email is sponsored by: OSDN - Tired of that same old
> cell phone?  Get a new here for FREE!
> https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390
> _______________________________________________
> Perl-Win32-GUI-Users mailing list
> Perl-Win32-GUI-Users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/perl-win32-gui-users
>