On 22/02/2008, Gareth John <[EMAIL PROTECTED]> wrote:
> I'm using Perl v5.10.0 and Win32::GUI 1.0.6 - I'm trying to import the
>  following constants:
>
>  LVHT_ABOVE
>  LVHT_BELOW
>  LVHT_NOWHERE
>  LVHT_ONITEMICON
>  LVHT_ONITEMLABEL
>  LVHT_ONITEMSTATEICON
>  LVHT_TORIGHT
>  LVHT_TOLEFT
>
>  but they don't seem to be exported by Win32::GUI::Constants.  Can anyone
>  tell me what I need to do to get these constants?

Thank you for the report.  I will add these constants to the next release.

For now you'll need to define the constants yourself.  Try something like this:

sub LVHT_NOWHERE()            {0x0001}
sub LVHT_ONITEMICON()         {0x0002}
sub LVHT_ONITEMLABEL()        {0x0004}
sub LVHT_ONITEMSTATEICON()    {0x0008}
sub LVHT_ONITEM()             {0x000E}
sub LVHT_ABOVE()              {0x0008}
sub LVHT_BELOW()              {0x0010}
sub LVHT_TORIGHT()            {0x0020}
sub LVHT_TOLEFT()             {0x0040}

Regards,
Rob.

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Perl-Win32-GUI-Users mailing list
Perl-Win32-GUI-Users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/perl-win32-gui-users
http://perl-win32-gui.sourceforge.net/

Reply via email to