kingofnines
asked on
MFC C++ edit box issue
I have an EditBox I use to collect data that is then moved to ListBox. I declared the variable for the edit box as type CString. This is how I move the text...
strText = m_txtListbox;
m_ctlListBox.AddString(str Text);
My problem is that I can't seem to clear the editbox after the text is moved to the ListBox. I tried this...
m_txtListbox.Delete(0,m_tx tListbox.G etLength() );
and this...
m_txtListbox.Empty();
Neither one removes the text from the text box. SO, how do I remove the text from the EditBox?
Thank you,
Alan
strText = m_txtListbox;
m_ctlListBox.AddString(str
My problem is that I can't seem to clear the editbox after the text is moved to the ListBox. I tried this...
m_txtListbox.Delete(0,m_tx
and this...
m_txtListbox.Empty();
Neither one removes the text from the text box. SO, how do I remove the text from the EditBox?
Thank you,
Alan
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
:o)
No problem, you're welcome - I'm glad I could help ...
Have a nice day,
best regards,
ZOPPO
No problem, you're welcome - I'm glad I could help ...
Have a nice day,
best regards,
ZOPPO
ASKER
Alan