开发者

Switch to another modal dialog in MFC

开发者 https://www.devze.com 2023-01-28 04:55 出处:网络
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 a

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

精彩评论

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