That will work provided you create your ListView with the name "DataView"
#----------
$window->AddListView
#----------
(
-name => "DataView",
-top => 160,
-left => 0,
-width => 600,
-height => 200,
-addstyle => WS_CHILD |
WS_VISIBLE |
ES_AUTOVSCROLL |
WS_VSCROLL |
1,
-checkboxes => 0,
-fullrowselect => 1,
-gridlines => 1,
-multisel => 2,
-view => 1,
);
Jeff Colwell
No electrons were harmed in making this e-mail message.
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Monday, February 25, 2002 3:04 PM
To: [EMAIL PROTECTED]; [email protected]
Subject: [perl-win32-gui-users] ListView - selected Items
@items = $window->DataView->SelectedItems();
then you can do something like
foreach ( @items )
{
# do something with each item
}
Jeff Colwell
No electrons were harmed in making this e-mail message.
-----Original Message-----
From: Eugeniy Ogloblin [mailto:[EMAIL PROTECTED]
Sent: Monday, February 25, 2002 1:04 PM
To: [email protected]
Subject: [perl-win32-gui-users] ListView - selected Items
Hello All,
How to get selected items in ListView?
--
Best regards,
Eugeniy mailto:[EMAIL PROTECTED]
_______________________________________________
Perl-Win32-GUI-Users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/perl-win32-gui-users
_______________________________________________
Perl-Win32-GUI-Users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/perl-win32-gui-users