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