HexEdit/CalcDlg.cpp
void CCalcDlg::StartEdit()
{
	edit_.SetFocus();
	//edit_.SetSel(edit_.GetWindowTextLength(), -1);  // move caret to end
	edit_.SetSel(0, -1);                              // select all
}
// Set focus to text control and move caret to end

Set focus to text control and move caret to end
Set focus to text control and move caret to end
void CCalcDlg::StartEdit()
{
	edit_.SetFocus();
	edit_.SetSel(0, -1);                              
}
void CCalcDlg :: StartEdit ( ) { edit_ . SetFocus ( ) ; edit_ . SetSel ( 0 , -1 ) ; }
Set focus to text control and move caret to end
Set focus to text control and move caret to end
//edit_.SetSel(edit_.GetWindowTextLength(), -1);  // move caret to end
 // select all
