How to SetFocus on a CEdit box so that the user can just start typing when the dialog loads?
I have a dialog that opens when a user opens my application asking them for their username/password. I want to have the focus set on the USERNAME CEdit box when the dialog loads so that the user doesn't have to click on the USERNAME box to type in their text.
The focus should be set on load so they can just type in their name.
How can I do this? Any comments or pointing in the right direction is appreciated.