Reading from a ListBox
C / C++ / MFC
3
Posts
3
Posters
0
Views
1
Watching
-
Hello i How can i read a string from a listbox ( MFC) Thanx a lot !
-
Hello i How can i read a string from a listbox ( MFC) Thanx a lot !
By using the
CListBox::GetText()
method.
"The largest fire starts but with the smallest spark." - David Crow
-
Hello i How can i read a string from a listbox ( MFC) Thanx a lot !
Mahhouraaaaaa wrote:
How can i read a string from a listbox ( MFC)
CString strData;
m_list.GetText(m_list.GetCurSel(),strData);m_list is the Control variable of the CListBox Control. Knock out 't' from can't, You can if you think you can :cool: