In .Net Listbox, you can throw in any object, not just text. If that's the
case, you can create your own class that has an extra "Tag" property and add
objects of that class to the ListBox. Just override the ToString method to
control what you want to display in the listbox.
-vJ
"Daniel P." <da******@hotmail.comU> wrote in message
news:uM**************@TK2MSFTNGP11.phx.gbl...
Is there anything similar to what MFC has, like CListBox::SetItemData ?
Thanks!