How about:

  my $win = Win32::GUI::Window->new(
     -name => 'etc...',
     -minwidth  => $fill_in_with_image_width,
     -minheight => $fill_in_with_image_height,
  );

Now you won't have to worry about the image going away. (You could also look into redrawing the image on a Resize event).

Thanks,
Charles Alderman

Quoting Guojun Yang <[EMAIL PROTECTED]>:

Hi, all,
I print a graphic on a window, but when I resize the window smaller than the image the image content outside of the window frame is gone even after I size it back to the original size. Can anyone suggest a solution?Thanks,
Guojun



Reply via email to