in reply to Win32 GUI new version flag issues

"From v1.04 the support for constants is provided by Win32::GUI::Constants"

Replies are listed 'Best First'.
Re^2: Win32 GUI new version flag issues
by petecm99 (Pilgrim) on Sep 30, 2010 at 12:40 UTC
    Thanks for that! Simply including the Constants module did not solve the syntax error, but at least you got me looking in the right direction. Ended up 'importing' the one I needed -

    my $ws_vscroll = Win32::GUI::Constants::constant('WS_VSCROLL');
      If you know which tags you want, just import them at the use line: use Win32::GUI::Constants qw/WS_VSCROLL MB_OK/;

      Alternatively, you can also import the compatibility tags from the older version of Win32::GUI: use Win32::GUI::Constants qw/:compatibility_win32_gui/;

        Thanks for the additional info. It's nice to have options...