void CmodeDlg::OnBnClickedButton1(){OnBnClickedButton2();}void CmodeDlg::OnBnClickedButton2(){ MessageBoxA(NULL,"123","123",MB_OK);}给分吧
在单击事件中使第二个对话框弹出即可啊
楼上这么diao啊