_>>if (CheckData(param1,param2)) _>> EndDialog(thishDlg,0); _>>else _>> MessageBox(thishDlg,"Error","Error",MB_OK); _>>