IDC_COMBO_REALM
CSendDlgItemMessage(hDialog, IDC_COMBO_REALM, EM_SETSEL, 0, 256);
SetFocus(GetDlgItem(hDialog,IDC_COMBO_REALM));