How to clear out CEdit control box
Posted on 1997-11-24
I have a CEdit control box (type integer) in my dialog. It's ID is IDC_GRADE and the member variable is m_Grade. I am managing it by using CEdit class (m_ctlGrade).
You see, the default value that appears in the box is 0, since it is an integer. Is there any way to clear it where the box is just blank? I've tried m_ctlGrade.Clear() and m_ctlGrade.ReplaceSel(""). Nothing happens. I've also tried m_Grade = NULL but to no avail.
Can anyone help me?