what method is to be used to get the selected row in a CListCtrl ?
i tryed GetCount() but it returnes the number of selected items
i searched the method list, but found no GetRow() or something
thx in advance
what method is to be used to get the selected row in a CListCtrl ?
i tryed GetCount() but it returnes the number of selected items
i searched the method list, but found no GetRow() or something
thx in advance
First call GetSelectedCount() to get the number of selected items, then in a loop call GetNextItem() to get the index value of each selected row. See example here.
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.