All,

Have recently upgraded to the latest version of Win32::GUI, and am getting
a warning from the following:

$cs = $main->AddCombobox(
                        -name => "cs",
                        -pos => [ 80, $yval ],
                        -tabstop=>1,
                        -width => 170,
                        -height => 130,
                        -style => WS_VISIBLE | 3 | WS_VSCROLL | WS_TABSTOP
                        );

Warning is:
Win32::GUI: the -style option is deprecated! at
C:/Perl/site/lib/Win32/GUI.pm line 610.

Which is fine, but I'm having no luck creating a single-selection dropdown
without assigning a style. I should add that I have no idea what the
'style' bit does -- I found that snippet somewhere on the web.

It works fine, but I'm guessing it was deprecated for a reason - I just
hope it's been replaced with something!

Cheers,
Mark



Reply via email to