Original:
Begin_message_map (Cmy1dlg, CDialog)
//{{afx_msg_map (CMY1DLG)
On_wm_syscommand ()
On_wm_paint ()
On_wm_querydragicon ()
On_bn_clicked (Idc_button1, OnButton1)
//}} Afx_msg_map
End_message_map ()
Afx_msg_map, this macro is an auxiliary macro used by MFC to construct a message map table, buried in a class-aware macro or dynamic recognition macro
Begin_message_map (Cmy3view, CFormView)
//{{afx_msg_map (Cmy3view)
Note-the ClassWizard would add and remove mapping macros here.
Do not EDIT these blocks of generated code!
//}} Afx_msg_map
Standard printing commands
On_command (Id_file_print, Cformview::onfileprint)
On_command (Id_file_print_direct, Cformview::onfileprint)
On_command (Id_file_print_preview, Cformview::onfileprintpreview)
End_message_map ()
{{Afx_data (CMY4DLG)
enum {IDD = Idd_my4_dialog};
Note:the ClassWizard would add data members here
}}afx_data
Public
//{{afx_data (Cmy3view)
enum{IDD = Idd_my3_form};
Note:the ClassWizard would add data members here
//}} Afx_data
{{Afx_data_map mapping between component data and components
afx_msg
found that macros such as annotations Afx_msg_map and afx_data cannot be deleted, either in dialog-based or sdi,mdi, otherwise errors such as cannot add new member will appear, or double-click controls cannot enter event handling. Compiler required! (in VC6, VC2010 Wood has these)
"Reprint" note Afx_msg_map,afx_data,afx_data_map, afx_msg and other macros cannot be deleted