Skip to main content
gamedev.net
🔒 Locked

CListCtrl and Arbitrary Data :: MFC

Started by kuphryn Jan 24, 2003 at 8:35 PM 2 replies 300+ views
Original Post
kuphryn
kuphryn
Hi. 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. Thanks, Kuphryn
kuphryn
kuphryn
Okay. Thanks everyone.

Kuphryn

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.