Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re^2: Win32 GUI new version flag issues

by petecm99 (Pilgrim)
on Sep 30, 2010 at 12:40 UTC ( [id://862785]=note: print w/replies, xml ) Need Help??


in reply to Re: Win32 GUI new version flag issues
in thread Win32 GUI new version flag issues

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');

Replies are listed 'Best First'.
Re^3: Win32 GUI new version flag issues
by lostjimmy (Chaplain) on Sep 30, 2010 at 12:56 UTC
    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...

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://862785]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others wandering the Monastery: (6)
As of 2024-04-23 19:25 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found