Re: [win32gui] Re: [perl-win32-gui-hackers] Using Windows as Objects

2005-08-01 Thread Robert May
It doesn't crash for me: Win98 (and IE 6 fully patched), perl 5.8.7, Win32::GUI 1.02 Here's an alternative. Does this crash for you? #!perl -w use strict; use warnings; use Win32::GUI; # Create the main window my $mainwindow = new Win32::GUI::Window( -name => "Window", -title => "Ob

Re: [win32gui] RE: [perl-win32-gui-hackers] -background option and windows

2005-08-01 Thread Jeremy White
I've just had a look at the Visual .Net environment and you can specify the backcolor of a window (and the background image) It would be possible to allow the -background option to take a Win32::GUI::Brush as a value. This would allow bitmaps as patterns for the background; but it would star

Re: [win32gui] RE: [perl-win32-gui-hackers] -background option and windows

2005-08-01 Thread Robert May
Jeremy White wrote: (1) It appears that the '-background' option was never intended to work with windows (Win32::GUI::Window, Win32::GUI::Dialog) and that the only way to change the background colour of a window is using the -class option with a coloured brush. It might be possible to extend

RE: [perl-win32-gui-hackers] -background option and windows

2005-08-01 Thread Jeremy White
I've been looking at a few of the bug reports regarding background colours of windows/controls. (1) It appears that the '-background' option was never intended to work with windows (Win32::GUI::Window, Win32::GUI::Dialog) and that the only way to change the background colour of a window is us