On 22/02/2008, Gareth John <ga...@eg...> 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.
|