Jump to content
  • Advertisement
Sign in to follow this  

Win32 Edit Control: setting focus

This topic is 3616 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.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!