Print Page | Close Window

Combobox item id’s

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Property Grid
Forum Description: Topics Related to Codejock Property Grid
URL: http://forum.codejock.com/forum_posts.asp?TID=3858
Printed Date: 16 November 2024 at 9:03am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Combobox item id’s
Posted By: Destonian
Subject: Combobox item id’s
Date Posted: 24 March 2006 at 1:26am

Hi,

I have a need to load several items from a database into a combobox on a propertygrid. It would be great if I could assign custom id's to each item in the combobox, as with items in the property grid.  I however cant find a way to do this. Am I just an idiotic fool, or is this not possible?  Would really not like to keep a seperate list of this.




Replies:
Posted By: Oleg
Date Posted: 24 March 2006 at 10:45am

in some old version wad added dwData for each constraint:

virtual CXTPPropertyGridItemConstraint* AddConstraint(LPCTSTR str, DWORD dwData = 0, int nImage = -1);



-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net