Using item data with constraints |
Post Reply |
Author | |
ssimon
Newbie Joined: 14 April 2005 Location: United States Status: Offline Points: 6 |
Post Options
Thanks(0)
Posted: 14 April 2005 at 3:11pm |
I would like to display a combo box within a CXTPPropertyGridItem and I would like to associate some item data (e.g., DWORD or void*) with each item I add to the combobox list. I presumed I should use GetConstraints() and AddConstraint(), but I can not find any way to associate item data with a constraint. I could maintain my own array of item data and map the constraint index to the index in the array, but if the constraints are sorted I assume the indices will become out of sync with my member array. With an MFC CComboBox I would simply use SetItemData()/SetItemDataPtr(), but I can not find any like this at all with the propery grid. Does anyone know how I can do this? Is there a completely different approach I need to take for the property grid item? I have been unable to figure this out looking through the samples, help, and forums.
|
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
It was added in 9.60.
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |