#39 -background option broken?

closed-fixed
Robert May
None
1
2005-11-22
2005-07-11
Robert May
No

Expect the following code to produce a window with a
green background. It doesn't.

#!perl -w
use strict;
use warnings;

use Win32::GUI;

my $win = new Win32::GUI::Window(
-name => "WinMain",
-pos => [100, 100],
-size => [100, 100],
-background => [0,255,0],
);

$win->Show();
Win32::GUI::Dialog();

exit(0);
__END__

Discussion

  • jw
    jw
    2005-07-12

    Logged In: YES
    user_id=994540

    You should also be able to change the background during
    runtime via the change method - this doesn't work either.

     
  • Robert May
    Robert May
    2005-07-28

    • assigned_to: nobody --> robertemay
     
  • Robert May
    Robert May
    2005-08-04

    • priority: 5 --> 1
    • status: open --> open-fixed
     
  • Robert May
    Robert May
    2005-11-22

    • status: open-fixed --> closed-fixed