Link to home
Start Free TrialLog in
Avatar of liberator
liberator

asked on

Unfortunately ending a program...

We are making a Visual c++ program. But every time we accidentaly push the "enter"-button, the program ends. Why????
ASKER CERTIFIED SOLUTION
Avatar of MDarling
MDarling

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
Avatar of Zoppo
Hi liberator,

What kind of application is it? If it's a dialog based application simply override the dialog's OnOK() function and don't call CDialog::OnOK() in there.

ZOPPO