
/*  The caret (cursor) can be placed in the Edit Control by
    calling the SetSel() with the start and end position
    being the same.  */

//  Place caret at end of text

    UpdateData();
    int len = m_strEdit5.GetLength();
    m_Edit5.SetFocus();            // or you won't see it
    m_Edit5.SetSel(len,len);
