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

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

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




#0029 

#0030  // Implementation 

#0031  public�此�

#0032   virtual ~CScribbleView�┌��察�

#0033  #ifdef _DEBUG 

#0034   virtual void AssertValid�┌� const�察�

#0035   virtual void Dump��CDumpContext& dc�� const�察�

#0036  #endif 

#0037 

#0038  protected�此�

#0039 

#0040  // Generated message map functions 

#0041  protected�此�

#0042   //����AFX_MSG��CScribbleView�� 

#0043       // NOTE the ClassWizard will add and remove member functions here。 

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

#0045   //����AFX_MSG 

#0046   DECLARE_MESSAGE_MAP �┌� 

#0047  ���察�

#0048 

#0049  #ifndef _DEBUG  // debug version in ScribbleView。cpp 

#0050  inline CScribbleDoc* CScribbleView�今�GetDocument�┌� 

#0051     �� return ��CScribbleDoc*��m_pDocument�察。� 

#0052  #endif 



STDAFX。H 



#0001  // stdafx。h �此�include file for standard system include files�察�

#0002  //  or project specific include files that are used frequently�察�but 

#0003  //      are changed infrequently 

#0004  // 

#0005 

#0006  #define VC_EXTRALEAN  // Exclude rarely´used stuff from Windows headers 

#0007 

#0008  #include          // MFC core and standard ponents 

#0009  #include          // MFC extensions 

#0010  #ifndef _AFX_NO_AFXCMN_SUPPORT 

#0011  #include          // MFC support for Windows mon Controls 

#0012  #endif // _AFX_NO_AFXCMN_SUPPORT 



RESOURCE。H 



#0001  //����NO_DEPENDENCIES���� 

#0002  // Microsoft Visual C���� generated include file。 



                                                                                    275 


´´´´´´´´´´´´´´´´´´´´´´Page 338´´´´´´´´´´´´´´´´´´´´´´´

                   及鐙    圀鋲垢並枠旋凪匂 



                   #0003  // Used by SCRIBBLE。RC 

                   #0004  // 

                   #0005  #define IDR_MAINFRAME                 128 

                   #0006  #define IDR_SCRIBTYPE                 129 

                   #0007  #define IDD_ABOUTBOX                  100 

                   #0008 

                   #0009  // Next default values for new objects 

                   #0010  // 

                   #0011  #ifdef APSTUDIO_INVOKED 

                   #0012  #ifndef APSTUDIO_READONLY_SYMBOLS 

                   #0013  #define _APS_3D_CONTROLS                 1 

                   #0014  #define _APS_NEXT_RESOURCE_VALUE         130 

                   #0015  #define _APS_NEXT_CONTROL_VALUE          1000 

                   #0016  #define _APS_NEXT_SYMED_VALUE            101 

                   #0017  #define _APS_NEXT_MAND_VALUE          32771 

                   #0018  #endif 

                   #0019  #endif 



                   STDAFX。CPP 



                   #0001  // stdafx。cpp �此�source file that includes just the standard includes 

                   #0002  //       Scribble。pch will be the pre´piled header 

                   #0003  //       stdafx。obj will contain the pre´piled type information 

                   #0004 

                   #0005  #include ;stdafx。h; 



                   SCRIBBLE。CPP 



                   #0001  // Scribble。cpp �此�Defines the class behaviors for the application。 

                   #0002  // 

                   #0003 

                   #0004  #include ;stdafx。h; 

                   #0005  #include ;Scribble。h; 

                   #0006 

                   #0007  #include ;MainFrm。h; 

                   #0008  #include ;ChildFrm。h; 

                   #0009  #include ;ScribbleDoc。h; 

                   #0010  #include ;ScribbleView。h; 

                   #0011 

                   #0012  #ifdef _DEBUG 

                   #0013  #define new DEBUG_NEW 

                   #0014  #undef THIS_FILE 

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

                   #0016  #endif 

                   #0017 



276 


´´´´´´´´´´´´´´´´´´´´´´Page 339´´´´´´´´´´´´´´´´´´´´´´´

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



#0018  ///////////////////////////////////////////////////////////////// 

#0019  // CScribbleApp 

#0020 

#0021  BEGIN_MESSAGE_MAP��CScribbleApp�察�CWinApp�� 

#0022   //����AFX_MSG_MAP��CScribbleApp�� 

#0023   ON_MAND��ID_APP_ABOUT�察�OnAppAbout�� 

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

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

#0026   //����AFX_MSG_MAP 

#0027   // Standard file based document mands 

#0028   ON_MAND��ID_FILE_NEW�察�CWinApp�今�OnFileNew�� 

#0029   ON_MAND��ID_FILE_OPEN�察�CWinApp�今�OnFileOpen�� 

#0030   // Standard print setup mand 

#0031   ON_MAND��ID_FILE_PRINT_SETUP�察�CWinApp�今�OnFilePrintSetup�� 

#0032  END_MESSAGE_MAP�┌� 

#0033 

#0034  ///////////////////////////////////////////////////////////////// 

#0035  // CScribbleApp construction 

#0036 

#0037  CScribbleApp�今�CScribbleApp�┌� 

#0038  �� 

#0039   // TODO�此�add construction code here�察�

#0040   // Place all significant initialization in InitInstance 

#0041  �� 

#0042 

#0043  ///////////////////////////////////////////////////////////////// 

#0044  // The one and only CScribbleApp object 

#0045 

#0046  CScribbleApp theApp�察�

#0047 

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

#0049  // CScribbleApp initialization 

#0050 

#0051  BOOL CScribbleApp�今�InitInstance�┌� 

#0052  �� 

#0053   // Standard initialization 

#0054   // If you are not using these features and wish to reduce the size 

#0055   //  of your final executable�察�you should remove from the following 

#0056   //  the specific initialization routines you do not need。 

#0057 

#0058  #ifdef _AFXDLL 

#0059   Enable3dControls�┌��察     �// Call this when using MFC in a shared DLL 

#0060  #else 

#0061   Enable3dControlsStatic�┌��察  �// Call this when linking to MFC statically 

#0062  #endif 

#0063 



                                                                                    277 


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