Jump to content
  • Advertisement
Sign in to follow this  

Keeping Focus

This topic is 5067 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

I have a standard win32 application (c++, no MFC) where in the WM_CREATE message of the WndProc, I create a non-modal dialog box in the main client area of the window using CreateDialog, for the main interface of the program. I know it's only a visual thing, but when the dialog box is clicked, the main window (title bar etc.) loses focus and greys out. Is there a way to keep the focus with the main window, when using the dialog box?

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!