Link to home
Start Free TrialLog in
Avatar of NeoMind
NeoMind

asked on

Disable the close button on a dialog box

I would like to know how we can disable the close button ( X ) on a dialog box.

NeoMind
Avatar of abdo81
abdo81

Hi
Add this function
void CMyDlg::OnClose()
{
     return;
}
Bye
ASKER CERTIFIED SOLUTION
Avatar of manojbkumar
manojbkumar

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial