Edit and Combo Box
I have an SDI application. In the FormView there are several edit and combo boxes which the user fills in. I also have an "Add Transaction" button that a user clicks to update a database with the contents of the edit and combo boxes. What I'm trying to figure out is how do I set the edit and combo boxes to blank after I click the "Add Transaction"
Possibile Solution ...
For the Edit control, you do this:
And for the ComboBox:
m_wndEdit.SetWindowText(""); // No text
That's how I understand the question. If that's not what you wanted, let me know. :D
m_wndCombo.SetCurSel(-1); // No selection (won't delete strings from the list)