[EMAIL PROTECTED] wrote:
>I am using Win32-GUI and have a listbox in my form.    I am having trouble
with
>the Click Event of the listbox.    It appears that it's not working
correctly.
>That is, no actions are being performed when I click in the listbox.
Is
>this still a bug or has it been fixed?    Also, is there a workaround for
this?

it's a bug...
to catch listbox events you have to add the LBS_NOTIFY style bit ( == 1),
which
is not set by default (it will be, of course).
you can take a look at samples/listbox.pl, basically the workaround for a
listbox
to work properly is to set:

    -style => WS_CHILD | WS_VISIBLE | 1,

__END__
# Aldo Calpini
print sort {$_{$a} cmp $_{$b}} values %{{split undef,
"xritajbugne fahokem csuctawer jhdtlrnpqloevkshpr"}};




Reply via email to