Re: [perl-win32-gui-users] image erased outside of the window border

2007-01-09 Thread Robert May
Guojun Yang wrote: 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, Without any code it's difficult to help you. I sus

[perl-win32-gui-users] Installation errors

2007-01-09 Thread Shoxin
hey guys, ok ive tried everything to install win32::gui on my windows xp cpu apparently the ppm install ./win32-gui and it says "Error: connect: Unknown error" could someone please fill me in on how to solve this problem?? -- View this message in context: http://www.nabble.com/Installation-error

Re: [perl-win32-gui-users] image erased outside of the window border

2007-01-09 Thread Charles Alderman
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).

[perl-win32-gui-users] image erased outside of the window border

2007-01-09 Thread Guojun Yang
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

Re: [perl-win32-gui-users] Adding attributes to a Win32::GUI object (was: How to pass $_ to a subroutine)

2007-01-09 Thread Leif Andersson
Robert May wrote: > Recommended: Use the UserData() method - this is exactly what this > method is intended for: > > $object->UserData($whatever); # store scalar with object > my $w = $object->UserData(); # retrieve previously stored scalar Thank you very much. UserData() seems to be the way t