CListCtrl and Arbitrary Data :: MFC
Is there an object that is part of each item (row) in a CListCtrl that can be used to store arbitrary data or a pointer to them? For example, give there a CListCtrl with two columns. Both columns contain texts; however, I want to store data or pointer to data that correspond to the items in CListCtrl.
I have considered other solutions include an independent STL contains such as a vector that will update as the user makes changes to the CListCtrl. There is a performance reduction for removal. Thus, I that is the last resort.