Are all my windows orphans? GetParent() failure

Started by
9 comments, last by MattS423 19 years, 10 months ago
Since DialogBox creates MODAL dialog it waits till the dialog is closed. Thus - if you can read the return value of DialogBox, it means that EndDialog (...) function was called from within the dialog. So I guess the error is probably somewhere else. But it is strange, that you can get to the WM_COMMAND message handler. Maybe post more code...

Oxyd

- Unreadable code is code written on a piece of paper, but not the one, in which the programmer is using a space in the place you don''t.
- Real programmers aren''t afraid of goto

This topic is closed to new replies.

Advertisement