[Visual C++] Listbox selecteditem and textboxes
#1

Hi,

This has been bothering me all day lol >.<

 

Im currently trying to do something like this; when i click on a item displayed in a listbox, some textboxes would get filled with some datas corresponding to the selected item of the listbox.

 

Maybe an example will be clearer: lets say i wanna make an affinity tool. The listbox would display names & id of each affinity, and if i click on one of them, the listboxes that ive have placed somewhere else would get filled with ID, name, gifts & their affinity value for each of them (well textbox wouldnt be the best choice for that last one).

 

I found bits of code to do some stuff with the selected item in the list, but sadly couldnt find how to "link" them to my textboxes.

 

Any clue?

Thanks!



Messages In This Thread
[No subject] - by Koko - 05-20-2013, 08:07 PM
[No subject] - by Phantom - 05-20-2013, 10:20 PM
[No subject] - by Koko - 05-21-2013, 05:37 AM
[No subject] - by soryjero - 05-28-2013, 08:30 AM
[No subject] - by Koko - 05-29-2013, 05:53 PM
[No subject] - by soryjero - 05-29-2013, 05:58 PM
[No subject] - by soryjero - 06-07-2013, 08:34 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)