Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Property Grid
  New Posts New Posts RSS Feed - Combobox item id’s
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Combobox item id’s

 Post Reply Post Reply
Author
Message
Destonian View Drop Down
Newbie
Newbie


Joined: 08 March 2006
Location: South Africa
Status: Offline
Points: 1
Post Options Post Options   Thanks (0) Thanks(0)   Quote Destonian Quote  Post ReplyReply Direct Link To This Post Topic: Combobox item id’s
    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.

Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.156 seconds.