Jump to content
  • Advertisement
Sign in to follow this  
mind in a box

[Win32, C++] Something takes my focus all the time!

This topic is 3004 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!
I don't know why, but I get such annoying "bing" sounds from windows everytime I press a key. Also the mousewheel isn't working anymore in my application. And I get no WM_CHAR messages.

I think some window steals the focus from my application dialog. How do I find out which? Or could that behavior get cause by another thing?

Share this post


Link to post
Share on other sites
Advertisement
I've solved it myself, sorry for not posting that here and stealing your time. :(
At the time I was posting the question I simply didn't know what code I should post. [smile]

I was setting the focus accidentally to a disabled Dialog item after copying code to another location.

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!