How do I disable MFC dialog OK button? This code: CWnd* fieldOK = pDlg->GetDlgItem(IDOK); ...
stackoverflow.com