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

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

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






                   #0028          //����AFX_MSG 

                   #0029          DECLARE_MESSAGE_MAP�┌� 

                   #0030  ���察�



                   PENDLG。CPP 



                   #0001  #include ;stdafx。h; 

                   #0002  #include ;Scribble。h; 

                   #0003  #include ;PenDlg。h; 

                   #0004 

                   #0005  #ifdef _DEBUG 

                   #0006  #undef THIS_FILE 

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

                   #0008  #endif 

                   #0009 

                   #0010  ///////////////////////////////////////////////////////////////// 

                   #0011  // CPenWidthsDlg dialog 

                   #0012 

                   #0013 

                   #0014  CPenWidthsDlg�今�CPenWidthsDlg��CWnd* pParent /*=NULL*/�� 

                   #0015          �此�CDialog��CPenWidthsDlg�今�IDD�察�pParent�� 

                   #0016  �� 

                   #0017          //����AFX_DATA_INIT��CPenWidthsDlg�� 

                   #0018          m_nThinWidth = 0�察�

                   #0019          m_nThickWidth = 0�察�

                   #0020          //����AFX_DATA_INIT 

                   #0021  �� 

                   #0022 

                   #0023 

                   #0024  void CPenWidthsDlg�今�DoDataExchange��CDataExchange* pDX�� 

                   #0025  �� 

                   #0026          CDialog�今�DoDataExchange��pDX���察�

                   #0027          //����AFX_DATA_MAP��CPenWidthsDlg�� 

                   #0028          DDX_Text��pDX�察�IDC_THIN_PEN_WIDTH�察�m_nThinWidth���察�

                   #0029          DDV_MinMaxInt��pDX�察�m_nThinWidth�察�1�察�20���察�

                   #0030          DDX_Text��pDX�察�IDC_THICK_PEN_WIDTH�察�m_nThickWidth���察�

                   #0031          DDV_MinMaxInt��pDX�察�m_nThickWidth�察�1�察�20���察�

                   #0032          //����AFX_DATA_MAP 

                   #0033  �� 

                   #0034 

                   #0035 

                   #0036  BEGIN_MESSAGE_MAP��CPenWidthsDlg�察�CDialog�� 

                   #0037          //����AFX_MSG_MAP��CPenWidthsDlg�� 

                   #0038          ON_BN_CLICKED��IDC_DEFAULT_PEN_WIDTHS�察�OnDefaultPenWidths�� 

                   #0039          //����AFX_MSG_MAP 

                   #0040  END_MESSAGE_MAP�┌� 



902 


´´´´´´´´´´´´´´´´´´´´´´Page 965´´´´´´´´´´´´´´´´´´´´´´´

                                                   現��B    Scribble Step5  頼屁圻兵�a 



#0041 

#0042  //////////////////////////////////////////////////////////////// 

#0043  // CPenWidthsDlg message handlers 

#0044 

#0045  void CPenWidthsDlg�今�OnDefaultPenWidths�┌� 

#0046  �� 

#0047          m_nThinWidth = 2�察�

#0048          m_nThickWidth = 5�察�

#0049          UpdateData��FALSE���察 �// causes DoDataExchange�┌� 

#0050                  // bSave=FALSE means don't save from screen�察�

#0051                  // rather�察�write to screen 

#0052  �� 



STDAFX。H 



#0001  #include          // MFC core and standard ponents 

#0002  #include          // MFC extensions 

#0003  #include        // MFC templates 

#0004 

#0005  #ifndef _AFX_NO_AFXCMN_SUPPORT 

#0006  #include       // MFC support for Windows 95 mon Controls 

#0007  #endif // _AFX_NO_AFXCMN_SUPPORT 



STDAFX。CPP 



#0001  #include ;stdafx。h; 



RESOURCE。H 



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

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

#0003  // Used by SCRIBBLE。RC 

#0004  // 

#0005  #define IDD_ABOUTBOX                    100 

#0006  #define IDR_MAINFRAME                   128 

#0007  #define IDR_SCRIBBTYPE                  129 

#0008  #define IDD_PEN_WIDTHS                  131 

#0009  #define IDC_THIN_PEN_WIDTH              1000 

#0010  #define IDC_THICK_PEN_WIDTH             1001 

#0011  #define IDC_DEFAULT_PEN_WIDTHS          1002 

#0012  #define ID_PEN_THICK_OR_THIN            32772 

#0013  #define ID_PEN_WIDTHS                   32773 

#0014 

#0015  // Next default values for new objects 

#0016  // 



                                                                                     903 


´´´´´´´´´´´´´´´´´´´´´´Page 966´´´´´´´´´´´´´´´´´´´´´´´

                   及励鐙    現��  



                   #0017  #ifdef APSTUDIO_INVOKED 

                   #0018  #ifndef APSTUDIO_READONLY_SYMBOLS 

                   #0019  #define _APS_3D_CONTROLS                1 

                   #0020  #define _APS_NEXT_RESOURCE_VALUE        132 

                   #0021  #define _APS_NEXT_MAND_VALUE         32774 

                   #0022  #define _APS_NEXT_CONTROL_VALUE         1003 

                   #0023  #define _APS_NEXT_SYMED_VALUE           101 

                   #0024  #endif 

                   #0025  #endif 



                   SCRIBBLE。RC 



                   #0001  //Microsoft Developer Studio generated resource script。 

                   #0002  // 

                   #0003  #include ;resource。h; 

                   #0004 

                   #0005  #define APSTUDIO_READONLY_SYMBOLS 

                   #0006  ///////////////////////////////////////////////////////////////// 

                   #0007  // 

                   #0008  // Generated from the TEXTINCLUDE 2 resource。 

                   #0009  // 

                   #0010  #include ;afxres。h; 

                   #0011 

                   #0012  ///////////////////////////////////////////////////////////////// 

                   #0013  #undef APSTUDIO_READONLY_SYMBOLS 

                   #0014 

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

                   #0016  // English ��U。S。�� resources 

                   #0017 

                   #0018  #if ��defined��AFX_RESOURCE_DLL�� ���� defined��AFX_TARG_ENU�� 

                   #0019  #ifdef _WIN32 

                   #0020  LANGUAGE LANG_ENGLISH�察�SUBLANG_ENGLISH_US 

                   #0021  #pragma code_page��1252�� 

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