Any suggestion on how to not continue if the ID is equal to IDNO?
Thank you

void CDlgQuestionPath::OnOK()
{
UpdateData(TRUE); //Will update all existing variables.
CString destPath = GetQuesPath();
Path path(ToString(destPath));
if (!path.IsDirect()){
int iResponse = AfxMessageBox(IDS_WARN_NODIRECTORYEXIST, MB_YESNO|MB_ICONQUESTION);
if(iResponse == IDYES) {
Directory dir(ToString(destPath));
dir.Create();
}
else{
***suggestion on what to do here**
}
}

CDialog::OnOK();
}