-
December 22nd, 2020, 04:41 PM
#16
Re: ListCtrl in MFC
Originally Posted by pdk5
GCDEF, Could you bit elaborate, on how to use SetItemData in this case ?
Have you read what SetItemData does? It stores an associated DWORD value with a list control item. If you see an item that has text in the second column store that row number somewhere and use it for the value for SetItemData for subsequent items you insert. When you need to get the second column text, use GetItemData to get the item number that has the second column text to retrieve the text.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|