Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Toolkit Pro
  New Posts New Posts RSS Feed - How to know which ID is selected in Combo
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

How to know which ID is selected in Combo

 Post Reply Post Reply
Author
Message
loknath View Drop Down
Newbie
Newbie
Avatar

Joined: 29 March 2006
Location: India
Status: Offline
Points: 1
Post Options Post Options   Thanks (0) Thanks(0)   Quote loknath Quote  Post ReplyReply Direct Link To This Post Topic: How to know which ID is selected in Combo
    Posted: 31 March 2006 at 1:41am

Hello

I am able to fill combo box. Now what I want is to fill the combo box with two values , one some text string and other a ID number associated with this text string. The combo is filled from database dynamically. I have two values in database one is value and another its ID

So I want the ID match with this text string in the combo.

Can any body have an idea how to get ID of this text. Please remember that I am not talking about the index of combo !!!!!

thanks in advance

Loku

Back to Top
Oleg View Drop Down
Senior Member
Senior Member


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: 31 March 2006 at 7:45am

Hello,

try

SetItemData/GetItemData methods

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.063 seconds.