n your OnInitDialog handler for the dialog, set focus to the control with
something like...
((CEdit*)GetDlgItem(IDC_PREFERRED_EDIT_BOX))->SetFocus();
or via a control mapped variable...
m_ctrlPrefferedEditBox->SetFocus();
Finally, return FALSE from the OnInitDialog handler.
Subscribe to:
Post Comments (Atom)


No comments:
Post a Comment