Advertisement Jump to content
Sign in to follow this  

Win32 Edit Control: setting focus

This topic is 3832 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hi. This is a stupid topic, but not for a Win32 novice... I have a very simple dialog, with just a label, an edit box and two buttons (OK, Cancel). I expect the edit box to get the focus at the end of the WM_INITDIALOG, but this doesn't happen, even if I call a SetFocus on the edit control. Can anyone help me? Thanks a lot.

Share this post

Link to post
Share on other sites
Sign in to follow this  

  • Advertisement

Important Information

By using, you agree to our community Guidelines, Terms of Use, and Privacy Policy. is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!