Click to See Complete Forum and Search --> : question on editcontrol


veesub
April 30th, 1999, 12:12 AM
If I Initialize the member variable of an edit control in a dialog through initdialog, it gets selected. I don't know how to deselect the text. Any suggestions?

April 30th, 1999, 02:23 AM
Call SetSel(-1), in the SetFocus() member function of the edit control.