<pre> void CDlgEstimateTime::OnBnClickedBtnFormati() { CDlgMy dialog; dialog.DoModal(); }
<pre> in dlgDialog: AfxMessageBox(IDS_STRING330, MB_ICONERROR); ShowWindow(SW_MINIMIZE); ShowWindow(SW_HIDE); return;
in CDlgMy: BOOL CDlgFormati::OnInitDialog() { CDialog::OnInitDialog(); FillList(); return TRUE; } in FillList there is ShowWindow(SW_HIDE);
ShowWindow
OnInitDialog
CloseWindow
ShowWindow(SW_HIDE);
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)