I have CEdit control and I don't want any text to be selected by default. I tried using
m_txtURL.SetSel(-1, 0, TRUE);
to remove the selection, but to no avail. can some one suggest a way to do achieve that?
I tried to select some characters using the following coding. That too did not work.
m_txtURL.SetSel(-1, 0, TRUE);
Can someone tell me what the problem could be?