Processing on the return and ESC key on the dialog interface
Processing method: Remove the default processing of ONOK and ONCANCEL
1. Remove the OK and Cancel buttons, then add the following positions in .h
// generated message map functions virtual void onok (); Virtual void oncancel (); declare_message_map ()
II to add the corresponding Onok and ONCANCEL processing in .CPP
Void CParamSetdlg :: Onok () {Note Do not process}
Void cParamSetdlg :: oncancel () {
Pay attention to no treatment}
Don't be right, please criticize.