How to position the caret in CEdit
Posted on 1998-11-05
When I select the entire text in an edit box by calling CEdit::SetSel, the caret is automatically moved to the end of the selection. However, I want to be able to keep the caret at the beginning of the text when it's highlighted, not at the end of it. So the question is, is there a way to move the caret to position 0 in a CEdit when the text highlighted?