[EMAIL PROTECTED] wrote:
>    $Main1 = new Win32::GUI::Window(
>          -name     => "MainWindow",
>          -left     => 100,
>          -top => 100,
>          -width    => 300,
>          -height => 200,
>          -text     => ('Please provide the following information', 2),
>          -style    => WS_BORDER | WS_CAPTION,
>     );

I beg your pardon, but what is:

    -text     => ('Please provide the following information', 2),

supposed to mean?

it is an error, that actually prevents Win32::GUI to interpret your
-style option; your code is seen as:

    # OPTION   VALUE
    -height,   200,
    -text,     'Please provide ... information',
    2,         -style,
    WS_BORDER | WS_CAPTION,

of course, 2 is not a valid option, neither WS_BORDER|WS_CAPTION, so 
they're simply ignored.

tell us what did you intend with your code, if it's a missing feature
we can manage to add it ;-)

__END__
# Aldo Calpini
print sort {$_{$a} cmp $_{$b}} values %{{split undef, 
"xritajbugne fahokem csuctawer jhdtlrnpqloevkshpr"}};




Reply via email to