void CTestDlg::OnOK() { CDlgTest *dlg; dlg = new CDlgTest(this); dlg->Create(IDD_DIALOG1, this ); dlg->ShowWindow(SW_SHOW); Sleep(10000); dlg->DestroyWindwo(); delete dlg; }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)