akif
akif

Reputation: 12344

CListCtrl get item index

How do I get an item's index number using the caption text? I'm using CListCtrl class of MFC. I have the item's caption text, can I get the index for that item and then update its text. It will be helpful if you could provide an example.

Upvotes: 0

Views: 4301

Answers (1)

aJ.
aJ.

Reputation: 35490

CListCtrl::FindItem (MSDN link with example)

Upvotes: 3

Related Questions