Archived

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

InFerN0

strange MFC assert

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.

G''luck,
-Alamar

Share this post


Link to post
Share on other sites