开发者

Switch to another modal dialog in MFC

I have a modal dialog. I open another modal dialog using DoModal, so that there are n开发者_运维百科ow two dialogs, one on top of another. When I then close the top dialog by clicking okay, I get an assertion error for line 896 of mfc90ud.dll. How can I fix this?


Hi probably you did not set parent for your child dialog

CMyDialog dlg(this);
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜