如何在不按任何按钮的情况下从对话框中打开 C++ MFC 中的辅助模式对话框? (如果我在 OnInitDialog() 中创建一个对话框,第一个对话框将不会出现。)
最佳答案
只需在显示辅助对话框之前在 OnInitDialog 中调用 ShowWindow(SW_SHOW);
即可。
关于C++ MFC : How to open immediately a secondary dialog after the first modal dialog was created,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/3708237/