MSVC++.NET listbox

Started by
0 comments, last by kuphryn 19 years, 5 months ago
I'm making a tool using .NET framework with win forms. I need to know how to extract the data from each item in the listbox and put it into an array of characters or a string object. So far I have discovered how to add to the list, remove from the list and so forth. But I don't know how to get the string data out and copy it to an array so I can save it to a file -a which I can load from another C++ program that uses Win32.
-----------------------------Language: C++API: Win32, DirectXCompiler: VC++ 2003
Advertisement
In general, access the listview item's subitems via index.

theListBox.Items[nIndex0].SubItems[nIndex1]

Kuphryn

This topic is closed to new replies.

Advertisement