嗔秤戻幣哉膵云利匈嬉蝕湊蛸賜塋床四衲萩晦編報炎嘔囚^泡仟 ̄云利匈
源平慎弌傍利 卦指云慕朕村 紗秘慕禰 厘議慕尺 厘議慕禰 TXT畠云和墮 〆辺茄欺厘議箝誓匂〇

侮秘燃竃MFC及2井(PDF鯉塀)-及121何蛍

酔楯荷恬: 梓囚徒貧圭鮗 ○ 賜 ★ 辛酔堀貧和鍬匈 梓囚徒貧議 Enter 囚辛指欺云慕朕村匈 梓囚徒貧圭鮗 ● 辛指欺云匈競何! 泌惚云慕短嗤堋響頼誅卒亮茂俊彭堋響辛聞喘貧圭 "辺茄欺厘議箝誓匂" 孔嬬 才 "紗秘慕禰" 孔嬬





                        CALCDRIV           Automation client。 



                        CATALOG            Illustration of direct calls to ODBC functions in general察and the ODBC 

                                           functions SQLTables and SQLColumns in particular。 



                        CATALOG2           Illustration of direct calls to ODBC functions in general using Windows 

                                           mon Controls。 



                        CHATSRVR           Discussion server application for CHATTER。 



                        CHATTER            Client application that uses Windows Sockets。 



                        CHKBOOK            Record´based nonserialized document。 



                        CIRC               Tutorial sample that teaches you how to create a simple ActiveX control 

                                           called Circle。 



                        CMNCTRLS           Demonstrates how to create and change the styles of 7 of the Windows 

                                           mon Controls。 



                        COLLECT            MFC C template´based collection classes察and standard prebuilt collection 

                                           classes。 



                        CONTAINER          Tutorial example illustrating ActiveX Visual Editing container features in 

                                           Visual C Tutorials。 



                        COUNTER            Using an ISAPI DLL to send image data rather than HTML data back to a 

                                           Web browser。 



                        CTRLBARS           Custom toolbar and status bar察dialog bar察and floating palette。 



916 


´´´´´´´´´´´´´´´´´´´´´´Page 979´´´´´´´´´´´´´´´´´´´´´´´

                                                          現C    Visual C 5。0 箭殻塀咤А



殻塀兆Q              f苧 



CTRLTEST          Owner´draw list box and menu察custom control察bitmap button察spin control。 



CUBE              OpenGL application using MFC device contexts along with OpenGL's 

                  resource contexts。 



DAOCTL            DAO database class functionality and ActiveX controls let you examine a 

                  database。 



DAOENROL          Based on ENROLL察but migrated to the DAO database classes。 Also serves as 

                  Step 4 of the DaoEnrol tutorial。 



DAOTABLE          Creates a Microsoft Access database ─MDB file and its tables察fields察

                  queries察and indexes using MFC DAO database classes。 



DAOVIEW           DAO database classes and Windows mon Controls let you view the 

                  schema of a database。 



DBFETCH           Demonstrates the use of bulk row fetching in the ODBC database classes。 



DIBLOOK           Device´independent bitmap and color palette。 



DLGCBR32          Adding a toolbar and a status bar to a dialog´based application。 



DLGTEMPL          Shows how to create dialog templates dynamically。 



DLLHUSK           Sharing the DLL version of the Foundation class library with an application 

                  and custom DLL。 



DLLTRACE          Statically linking the MFC library to a custom DLL。 



DOCKTOOL          Dragging and floating toolbars that are ;dockable;。 



DRAWCLI           Full´featured object´oriented drawing application that is also an ActiveX 

                  Visual Editing container。 



DRAWPIC           Getting a Windows handle to a bitmap or icon from an LPPICTUREDISP。 



DYNABIND          Dynamic binding of database columns to a recordset。 



DYNAMENU          Dynamically modifying list of items in menus察handling mands not 

                  known at pile time察and updating the status bar mand prompt for such 

                  mands。 



ENROLL            Tutorial example illustrating database features in Visual C Tutorials。 



                                                                                                         917 


´´´´´´´´´´´´´´´´´´´´´´Page 980´´´´´´´´´´´´´´´´´´´´´´´

                        及励鐙    現  



                        殻塀兆Q               f苧 



                        EXTBIND            Shows how to bind data´aware controls across a dialog box boundary。 



                        FIRE               Dialog´based application that demonstrates five Windows mon Controls。 



                        FTPTREE            Displays the contents of an FTP site in a tree control。 



                        GUIDGEN            A dialog´based MFC application used to generate globally unique identifiers察

                                           or GUIDs察which identify OLE classes察objects察and interfaces。 



                        HELLO              Simple application with frame window but no document or view。 



                        HELLOAPP           Minimal ;Hello World; application。 



                        HIERSVR            ActiveX Visual Editing server application with drag and drop。 



                        HTTPSVR            Uses MFC Windows Socket classes to implement an Internet HTTP server。 



                        IMAGE              Demonstrates an ActiveX control that is capable of downloading data 

                                           asynchronously。 



                        INPROC             An in´process Automation server that can be loaded as a DLL in the client's 

                                           address space。 



                        IPDRIVE            A simple Automation client application that drives the INPROC sample 

                                           application。 



                        MAKEHM             mand line utility for associating resources with Help contexts。 



                        MDI                MDI application that does not use documents and views。 



                        MDIBIND            Demonstrates data binding in CWnd´derived windows察but only at run time。 



                        MDIDOCVW           New version of the MDI sample that uses the document/view architecture。 



                        MFCCALC            An Automation server that implements a simple calculator。 



                        MFCUCASE           Demonstrates MFC support for Internet Server filter DLLs。 



                        MODELESS           Demonstrates the use of an MFC CDialog object as a modeless dialog。 



                        MTGDI              Multithread illustration察where GDI resources are converted to MFC objects 

                                           and back。 



                        MTMDI              Multithread illustration察where user´interface events are processed in a 

                                           separate user´interface thread。 



918 


´´´´´´´´´´´´´´´´´´´´´´Page 981´´´´´´´´´´´´´´´´´´´´´´´

                                                         現C    Visual C 5。0 箭殻塀咤А



殻塀兆Q              f苧 



MTRECALC          Multithread illustration察where recalculations are done in a worker thread。 



MULTIPAD          Simple MDI text editor using the CEditView class。 



MUTEXES           Demonstrates the use of the Cmutex class for multithreading。 



NPP               Editor demonstrating toolbars察status bars察and other controls。 



OCLIENT           ActiveX Visual Editing container application察with drag and drop。 



ODBCINFO          Shows how to determine various ODBC driver capabilities at run time。 



OLEVIEW           Implementing an OLE object browser through custom OLE interfaces。 



PROPDLG           Property sheets dialogs。 



ROWLIST           Illustrates full row selection in a list´view mon control。 



SAVER             Screen saver written with MFC。 



SCRIBBLE          Main tutorial example in Visual C Tutorials。 



SMILEY            Modifying properties察calling methods察and handling events from the SMILE 

                  control in the SMILEY container。 



SNAPVW            Shows how to use property pages in a MDI child frame window。 



SPEAKN            Multimedia sound using user´defined resources。 



STDREG            Tool for populating the Student Registration database used by the Enroll 

                  database tutorial in any format supported by an ODBC driver。 Illustrates 

                  SQL table creation。 



SUPERPAD          ActiveX Visual Editing server that edits text using CEditView。 



TEAR              MFC console application that uses the WININET。DLL。 



TEMPLDEF          mand line tool that expands source files similar to C templates。 



TESTHELP          An ActiveX control that has its own help file and tooltips。 



TRACER            Tool that sets the Foundation class application trace flags kept in AFX。INI。 



TRACKER           Illustration of the various CRectTracker styles and options。 



                                                                                                        919 


´´´´´´´´´´´´´´´´´´´´´´Page 982´´´´´´´´´´´´´´´´´´´´´´´

                       及励鐙    現  



                       殻塀兆Q             f苧 



                       VCTERM           Simple terminal emulation program illustrating the use of the 

                                        MSM32。OCX ActiveX control。 



                       VIEWEX           Multiple views察scroll view察splitter windows。 



                       WORDPAD          Uses MFC's support for rich edit controls to create a basic word processor。 



                       WWWQUOTE         Retrieves information from a database and provides it to the user via an HTTP 

                                        connection to the server。 



920 


´´´´´´´´´´´´´´´´´´´´´´Page 983´´´´´´´´´´´´´´´´´´´´´´´

                                              現D    參MFC 嶷秀DBWIN  



    現D 



               參MFC 嶷秀 DBWIN 



     в弌 DBWIN  TRACE  蟹焚N叔鬘Visual C  議  TRACE  忖堪竃駅壓屁栽h廠議茅e 



     完心欺。@湊^芸阻。厘峪音^誑敝滷螺螺裏s勣厘晋恊  155  紗rh。 



                                      作拭棔

                                             /  1997。01 l燕豢RunPC sI 



     厘徭失械浪g壓殻塀紗  printf  ^賀殻塀議送殻賜亀犯檗裡音駅@啌 



     e匂岻議寄躬錙 



printf  AfxMessageBox           TRACE 

      、                     c 



     printf     C                       text mode     Windows  

         頁  Z冱議丙塀徽峪嬬壓猟忖庁塀─                。茂弌         D侘初 



     中餓辛曳M議頁  AfxMessageBox  辛參pp壓υ歳双咫竃低議忖堪。隼遇 



     AfxMessageBox                                  OK 

               嗤髪c宰嬉牾綿週槻俤M掲誼聞喘宀梓‐  /梓o音辛。壅 



     宀泌惚  AfxMessageBox  υ歳中盃彖穆殻塀議完中稀υ歳Y崩狼y 



                           WM PAINT               OnDraw 

                              _          View            

     Τ綿述完l竃圻云音駅勣議                豢頁      e議         瓜柵出。泌 



     惚低議  AfxMessageBox  屎頁慧壓  OnDraw  痕塀@歳墹h辛嗤誼覇阻。 



     TRACE  в俤@N髪c万議竃鹿欺蒙協完万音嬉狡y殻塀議囘 



                                                                      921 


´´´´´´´´´´´´´´´´´´´´´´Page 984´´´´´´´´´´´´´´´´´´´´´´´

               及励鐙    現  



                                                         OK 

               d音壓低畠舞廣房深殻塀r勣低蛍舞躇粥勝  垂o。厚嶷勣議頁万音 



               孤_欺殻塀議完中。 



               Visual C 1。5  r旗TRACE  議忖堪竃頁僕欺兆蕁 DBWIN  議完。低辛參 



                                      TRACE                            Visual C 

               茂亞綿州軸r^賀凪               竃。S謹壼厮lF周音侑議並此



               4。x  岻в弌 DBWIN  伏試議化妝咀緩y阻殻塀議伏凋嗤乂税N音唇。 



                     DBWIN TRACE           Visual C    TRACE  

               в弌       。      蟹焚N叔鬘拭            ゝ帖      」峇竃駅壓屁栽h廠 



               議茅e完心欺。TRACE  賞鹿峪壓茅e庁塀議殻塀a嘉嬬伏丼遇  Visual C  捷 



               勣箔殻塀駅壓屁栽h廠議茅e匂茂丕蛤議  TRACE  賞鹿嘉嗤丼。@湊^芸阻。 



               厘峪音^誑昊螺c符滷鬘麿s勣厘晋恊  155  紗rh蹇2刺拇靡儷@ 



               N秤r牀音M。 



          Paul DiLascia 



               Microsoft Systems Journal MSJ               TRACE  

                                  ─ 。議鋲猟嫗a阻                議@c弌弌z唆此



               及鐙猟嫗竃F壓  MSJ  1995。10  議  C/C  擅及鐙猟嫗竃F壓  MSJ  1996。01  議 



               C/C  據鋲脅竃徭  Paul DiLascia  岻返@了枠伏壓  C / MFC  輦佇兆广嗤 



                Windows  。 



               Paul  DiLascia  l苧阻N圭隈低議  TRACE  賞鹿竃欺完麿委万凋兆蕁



               Tracewin  完@完祥顱 Visual C 1。5  議  DBWIN  咤辛參辺鹿轅坩坊週帖



               TRACE  忖堪辛參委犯歿絣賜贋n賜恂凪麿販採猟忖ン議タ蹇D禝蝶綿瞬察



               勣頁茅e庁塀祥佩。崛豢茅e匂委万G_崛富壓@r震。 



               厘壓@鐙猟嫗∧  Paul DiLascia  議觝要隈K哈喘何芸殻塀a。頼屁殻塀a辛 



                     MSJ    ftp site ftp。microsoft。    MSDN  Microsoft Developer's 

               參棐      ゝ帖    。─           。窒Md匆辛參棐         。─



               Network 高禦頭@誼。 



               緩隈源嗤派房辛參S源厘議  MFC  室g。侭嗤s勦脅搆琴宀  Paul DiLascia 。 



922 


´´´´´´´´´´´´´´´´´´´´´´Page 985´´´´´´´´´´´´´´´´´´´´´´´

                                               現D    參MFC 嶷秀DBWIN  



     厘椿厘峪頁魎鷦厖橡K初B@鋲猟嫗、@、@挫垢醤K拝楚S源不腕 



     捉議鋲圻猟。猟嫗聞喘及Q軛菠  Tracewin  議殻塀O尖廷r椎仝厘々 



     旗燕議頁  Paul DiLascia  遇音頁作拭棔 



倍拉寨 



     勣委  TRACE  議竃忖堪鬘誼枠苧易  TRACE  賞鹿欺久頁奕N指並。TRACE  並 



          Win32 API  OutputDebugString                hooking Win32 API 

     柵出阻          痕塀              。挫辛嬬低覽述夥貌 



     議恬隈委  OutputDebugString  痕塀У縦禝陳痕塀蹌壅嚠函嚠箔。@N圭隈壓 



     Windows  NT             Windows  NT    copy´on´write  圍А

               音嬬丼咀蕁              ゝ帖          〃幎C崙─。聞誼厘 



               OutputDebugString                 OutputDebugString  

     稀俐個阻                 厘祥輦仭坊搆琴埃叉帖                    仝臼勝 



     厘辛參互互ddM秤聞喘@険云隼音X徽凪麿殻塀柵出議s挽隼頁椎隆
卦指朕村 貧匯匈 和匯匈 指欺競何 9 10
酔楯荷恬: 梓囚徒貧圭鮗 ○ 賜 ★ 辛酔堀貧和鍬匈 梓囚徒貧議 Enter 囚辛指欺云慕朕村匈 梓囚徒貧圭鮗 ● 辛指欺云匈競何!
梁椣戻幣 梁心弌傍議揖扮窟燕得胎傍竃徭失議心隈才凪万弌誌育断蛍輌臆惨軼僑〃燕慕得珊辛參資誼持蛍才将刮襲潜範寔亟圻幹慕得 瓜寡追葎娼得辛參資誼寄楚署衛、持蛍才将刮襲潜