Jump to content
  • Advertisement
Sign in to follow this  

Win32 Edit Control: setting focus

This topic is 3738 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 GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!