开发者

C++ MFC: How to open immediately a secondary dialog after the first modal dialog was created

how can I open a secondary modal dial开发者_如何学运维og in C++ MFC from a dialog without pressing any button? (If I create a dialog in OnInitDialog(), the first dialog won't appear.)


Just call ShowWindow(SW_SHOW); in your OnInitDialog just before display the secondary dialog.


Had the same problem. The reason was because of a problem in clear case which made the sln folder unreachable. Try close/stop ClearCase and open it again. Browse to the folder from clearcase and open the .sln.

Good Luck

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜