-
Edit and Combo Box
Hi,
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"
Thanks.
-
Possibile Solution ...
For the Edit control, you do this:
Code:
m_wndEdit.SetWindowText(""); // No text
And for the ComboBox:
Code:
m_wndCombo.SetCurSel(-1); // No selection (won't delete strings from the list)
That's how I understand the question. If that's not what you wanted, let me know. :D
-
Thanks