strange MFC assert

Started by
0 comments, last by InFerN0 22 years, 10 months ago
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...
InFerN0Not all who wander are lost...
Advertisement
You''re most likely calling SetActiveView too early, like before the window is created.

G''luck,
-Alamar

This topic is closed to new replies.

Advertisement