Jump to content
  • Advertisement


This topic is now archived and is closed to further replies.


strange MFC assert

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

Whenever I set one of my views active using SetActiveView() I get an assert in SetFocus() on IsWindow(m_hWnd). I can ignore it and it seems to have no effect. One person I talked to said just use the release build. I don''t want to do this because I want to figure out why the HWND is NULL. I am sure that someone else has run into this. Thanks for your help. InFerN0 Not all who wander are lost...

Share this post

Link to post
Share on other sites
You''re most likely calling SetActiveView too early, like before the window is created.


Share this post

Link to post
Share on other sites

  • 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!