try GetDlgItem(IDC_YOUREDITCTRL)->HideCaret();

regards
j..