Hi, 

You can use something like this 

my $item = -1;
for ( ;; )
{
$item = $list->GetNextItem($item,
                                                 Wx->wxLIST_NEXT_ALL,
                                                 Wx->wxLIST_STATE_SELECTED);
last if ( $item == -1 );

# do something with the item 
}

Regards 

Daniel

-----Original Message-----
From: Daniel [mailto:[EMAIL PROTECTED] 
Sent: 29 mai 2008 09:33
To: wxperlusers
Subject: Problem with ListCtrl

Hi all,

I have a ListCtrl in report mode an I like to get the selected items but didn't 
found any function for this.

There is wxListCtrl::GetSelectedItemCount, so if I can count the selected items 
I'm sure there is a way to discover these items.
So I'm looking for something like GetSelections or IsSelected.

The Demo didn't help me because I do not want to catch an select-event.

So how to do this?

Thanks and regards
Daniel


      __________________________________________________________
Gesendet von Yahoo! Mail.
Dem pfiffigeren Posteingang.
http://de.overview.mail.yahoo.com

Reply via email to