我正在从another.....before调用一个对话框,调用第二个对话框,我使用ShowWindow(SW_HIDE)隐藏了第一个对话框,在完成第二个对话框上的操作后,我销毁了it....now,当控件返回到函数时,我使用ShowWindow(SW_SHOW)再次显示第一个对话框,但它仍然是hidden..can有人能帮我再显示一次吗?
例如:
Funcn(){
ShowWindow(SW_HIDE);//hide the dialog box 1st
SecondDlg var;//Class variable of 2nd dialog box
var.DoModal();//call the 2nd dialog box
ShowWindow(SW_SHOW);//after executing this statement the dialog still remains hidden...how to show it??
}发布于 2010-08-02 23:23:55
也许你想调用ShowWindow(SW_RESTORE)而不是SW_SHOW?
https://stackoverflow.com/questions/3297362
复制相似问题