嗔秤戻幣�哉膵�云利匈嬉蝕湊蛸賜�塋床四衲���萩晦編報炎嘔囚^泡仟 ̄云利匈�《超噌�殻窟�嵌虜隆輓麈觚翹瀘卉韮�仍仍�。� 烏御危列
昂昂慕汐 卦指云慕朕村 厘議慕尺 厘議慕禰 TXT畠云和墮 序秘慕杏 紗秘慕禰

侮秘燃竃MFC及2井(PDF鯉塀)-及101嫗

梓囚徒貧圭�鮗� ○ 賜 ★ 辛酔堀貧和鍬匈��梓囚徒貧議 Enter 囚辛指欺云慕朕村匈��梓囚徒貧圭�鮗� ● 辛指欺云匈競何��
!!!!隆堋響頼��紗秘慕禰厮宴和肝写偬堋響��




#0046  �� 

#0047 

#0048  ///////////////////////////////////////////////////////////////// 

#0049  // CChildFrame diagnostics 

#0050 

#0051  #ifdef _DEBUG 

#0052  void CChildFrame�今�AssertValid�┌� const 

#0053  �� 

#0054   CMDIChildWnd�今�AssertValid�┌��察�

#0055  �� 

#0056 

#0057  void CChildFrame�今�Dump��CDumpContext& dc�� const 

#0058  �� 

#0059   CMDIChildWnd�今�Dump��dc���察�

#0060  �� 

#0061 



                                                                                     283 


´´´´´´´´´´´´´´´´´´´´´´Page 346´´´´´´´´´´´´´´´´´´´´´´´

                   及鐙    圀鋲垢並枠旋凪匂 



                   #0062  #endif //_DEBUG 

                   #0063 

                   #0064  ///////////////////////////////////////////////////////////////// 

                   #0065  // CChildFrame message handlers 



                   SCRIBBLEDOC。CPP 



                   #0001  // ScribbleDoc。cpp �此�implementation of the CScribbleDoc class 

                   #0002  // 

                   #0003 

                   #0004  #include ;stdafx。h; 

                   #0005  #include ;Scribble。h; 

                   #0006 

                   #0007  #include ;ScribbleDoc。h; 

                   #0008 

                   #0009  #ifdef _DEBUG 

                   #0010  #define new DEBUG_NEW 

                   #0011  #undef THIS_FILE 

                   #0012  static char THIS_FILE�ВА�= __FILE__�察�

                   #0013  #endif 

                   #0014 

                   #0015  ///////////////////////////////////////////////////////////////// 

                   #0016  // CScribbleDoc 

                   #0017 

                   #0018  IMPLEMENT_DYNCREATE��CScribbleDoc�察�CDocument�� 

                   #0019 

                   #0020  BEGIN_MESSAGE_MAP��CScribbleDoc�察�CDocument�� 

                   #0021   //����AFX_MSG_MAP��CScribbleDoc�� 

                   #0022       // NOTE the ClassWizard will add and remove mapping macros here。 

                   #0023       //    DO NOT EDIT what you see in these blocks of generated code� �

                   #0024   //����AFX_MSG_MAP 

                   #0025  END_MESSAGE_MAP�┌� 

                   #0026 

                   #0027  ///////////////////////////////////////////////////////////////// 

                   #0028  // CScribbleDoc construction/destruction 

                   #0029 

                   #0030  CScribbleDoc�今�CScribbleDoc�┌� 

                   #0031  �� 

                   #0032   // TODO�此�add one´time construction code here 

                   #0033 

                   #0034  �� 

                   #0035 

                   #0036  CScribbleDoc�今�~CScribbleDoc�┌� 

                   #0037  �� 

                   #0038  �� 

                   #0039 



284 


´´´´´´´´´´´´´´´´´´´´´´Page 347´´´´´´´´´´´´´´´´´´´´´´´

                                            及4嫗    Visual C����  屁栽來���w�_�l�h廠 



#0040  BOOL CScribbleDoc�今�OnNewDocument�┌� 

#0041  �� 

#0042   if �┌�CDocument�今�OnNewDocument�┌��� 

#0043           return FALSE�察�

#0044 

#0045   // TODO�此�add reinitialization code here 

#0046   // ��SDI documents will reuse this document�� 

#0047 

#0048   return TRUE�察�

#0049  �� 

#0050 

#0051  ///////////////////////////////////////////////////////////////// 

#0052  // CScribbleDoc serialization 

#0053 

#0054  void CScribbleDoc�今�Serialize��CArchive& ar�� 

#0055  �� 

#0056   if ��ar。IsStoring�┌��� 

#0057   �� 

#0058           // TODO�此�add storing code here 

#0059   �� 

#0060   else 

#0061   �� 

#0062           // TODO�此�add loading code here 

#0063   �� 

#0064  �� 

#0065 

#0066  ///////////////////////////////////////////////////////////////// 

#0067  // CScribbleDoc diagnostics 

#0068 

#0069  #ifdef _DEBUG 

#0070  void CScribbleDoc�今�AssertValid�┌� const 

#0071  �� 

#0072   CDocument�今�AssertValid�┌��察�

#0073  �� 

#0074 

#0075  void CScribbleDoc�今�Dump��CDumpContext& dc�� const 

#0076  �� 

#0077   CDocument�今�Dump��dc���察�

#0078  �� 

#0079  #endif //_DEBUG 

#0080 

#0081  ///////////////////////////////////////////////////////////////// 

#0082  // CScribbleDoc mands 



                                                                                   285 


´´´´´´´´´´´´´´´´´´´´´´Page 348´´´´´´´´´´´´´´´´´´´´´´´

                   及鐙    圀鋲垢並枠旋凪匂 



                   SCRIBBLEVIEW。CPP 



                   #0001  // ScribbleView。cpp �此�implementation of the CScribbleView class 

                   #0002  // 

                   #0003 

                   #0004  #include ;stdafx。h; 

                   #0005  #include ;Scribble。h; 

                   #0006 

                   #0007  #include ;ScribbleDoc。h; 

                   #0008  #include ;ScribbleView。h; 

                   #0009 

                   #0010  #ifdef _DEBUG 

                   #0011  #define new DEBUG_NEW 

                   #0012  #undef THIS_FILE 

                   #0013  static char THIS_FILE�ВА�= __FILE__�察�

                   #0014  #endif 

                   #0015 

                   #0016  ///////////////////////////////////////////////////////////////// 

                   #0017  // CScribbleView 

                   #0018 

                   #0019  IMPLEMENT_DYNCREATE��CScribbleView�察�CView�� 

                   #0020 

                   #0021  BEGIN_MESSAGE_MAP��CScribbleView�察�CView�� 

                   #0022   //����AFX_MSG_MAP��CScribbleView�� 

                   #0023        // NOTE the ClassWizard will add and remove mapping macros here。 

                   #0024        //    DO NOT EDIT what you see in these blocks of generated code� �

                   #0025   //����AFX_MSG_MAP 

                   #0026   // Standard printing mands 

                   #0027   ON_MAND��ID_FILE_PRINT�察�CView�今�OnFilePrint�� 

                   #0028   ON_MAND��ID_FILE_PRINT_DIRECT�察�CView�今�OnFilePrint�� 

                   #0029   ON_MAND��ID_FILE_PRINT_PREVIEW�察�CView�今�OnFilePrintPr
卦指朕村 貧匯匈 和匯匈 指欺競何 壘��1�� 家��1��
隆堋響頼��紗秘慕禰厮宴和肝写偬堋響��
梁椣戻幣�� 梁心弌傍議揖扮窟燕得胎��傍竃徭失議心隈才凪万弌誌育断蛍�輌臆惨軼僑〃�燕慕得珊辛參資誼持蛍才将刮襲潜��範寔亟圻幹慕得 瓜寡追葎娼得辛參資誼寄楚署衛、持蛍才将刮襲潜填��