本书是《微软指定MCSD教材(影印版)》丛书中的一本,讲述Visual C++ 6.0桌面应用程序开发技巧,内容包括建立开发环境、MFC、创建用户界面、建立COM组件、解决方案的测试与调试等。本书还可指导您准备MCP 70-016考试(微软认证解决方案开发人员证书的一门核心考试)。
本书由微软公司专家编写,技术深入,权威性强,可作为Visual C++ 6.0桌面应用程序开发人员和MCP考试应试者的参考书。\r\n
About This Book\r\nIntended Audience\r\nPrerequisties\r\nCourse Overview\r\nGetting Started\r\nUsing This Book to Prepare for Certification\r\nMicrosoft Certified Professional Program\r\nTechnical support\r\nAbout the Authors\r\n\r\nChapter1:Preparing for Application Development\r\nLesson1:Defining the Solution with the Microsoft solutions Framework\r\nOverveiw of MSF\r\nUsing the MSF Development Team Model \r\nUsing the MSF DEvelopment Process Model\r\nUsing the MSF Application Model\r\nUsing the MSF DEsign Process Model \r\nDEveloping Desktop Applications\r\nLesson Summary\r\nlesson2:Installing the Visual C++ Development Tools\r\nMicrosoft Visual C++ Installation\r\nInstallation Options\r\nGeneral Tools\r\nCompleting the Installation\r\nLesson Summary\r\nLab1:Introducing the STUpolad Application\r\nCustomer Requirements\r\nSetps Toward a Solution Design \r\nTUpload Application \r\nReview\r\n\r\nChapter2 Visual c++ Development Environment\r\nLesson1:Creating an MFC Project\r\nProjects,Configurations,and workspaces\r\nCreating a new Project\r\nUsing the AppWizard\r\nLesson Summary\r\nLesson2:Exploring the Development Environment\r\nVisual C++ User Interface\r\nmenus and Toolbars\r\n Setting Environment Options\r\n Getting help\r\nProject Configuration Setting \r\nBuilding a Project\r\nLesson summary\r\nlesson3:Source Code Control\r\nSetting Up Source Code Control Using Visual SourceSafe\r\nSetting up a VSS Database\r\nPlacing the MyApp Project Under Source Code Control\r\nUsing the VSS Explorer\r\nSource Code Control Configuration\r\nReusing Visual SourceSafe Files\r\nViewing Version History\r\nArchiving a VSS Project\r\nlesson Summary\r\nLab2:Creating the STUpload Development Project\r\nReview\r\nChapter3 Building Applications with the Microsoft Foundation Classes\r\nLesson1:Overview of MFC \r\nMFC and the Win32 API\r\nWin32 Platform Considerations\r\nMFC Class Hierarchy\r\nVeiwing the MFC Object Hierarchy\r\nMFC Class Hierarchy\r\nViewing the MFC Object Hierarchy\r\nMFC Class Categories\r\nMFC DLLs\r\nLesson Summary\r\nLesson2:Win32 Application Architecture\r\nWindows Application Fundamentals\r\nCreating a Win32 Application\r\nLesson Summary\r\nLesson 3:MFC Application Framework\r\nMFC Application Architecture\r\napplication Frmaework Message Handling \r\nLesson Summary\r\nLesson4:Document/View Architecture\r\nCocuments and Views \r\nBenefits fo the Document/View Architecture\r\nSDI and MDI Applications\r\nObject in the Document/View Architecture\r\nDrawing,Printing,and Print Preview Architecture\r\nLesson Summary\r\nlab3:Displaying Application Data\r\nReview\r\nChapter4 Creating the User Interface\r\nLesson1:Windows Application User Interfaces\r\nApplication and Document Icons\r\nEditing Application Menus\r\nAdding Shortcut Keys\r\nEditing Application Toolbars\r\nHandling Menu and Toolbar Selections\r\nDynamically Updating Menu and Toolbar Commands\r\nWriting to the Status Bar\r\nLesson Summary\r\nLesson2:Creating Dialog Boxes\r\nDialog boxes\r\nTypes of Dialog boxes\r\nCreating a Dialog Box Template\r\nCreating and Usig a Dialog Box Class\r\nCommon Dialog Classes\r\nLesson Summary\r\nLab4:Creating the STUpload User Interface\r\nEditing he STUpload application Menu\r\nADding New Shortcut deys\r\nEDiting the Stupload Application Toolbar\r\nCreatin STUpload Application Dialog Boxes\r\nUsing Common Dialog Boxes\r\nReview\r\nChapter5:Implementing Application Behaviors\r\nLesson1 :Working with Dialog Boxes\r\nDialog Data Exchange and Vilidation \r\nUsing OnInitDialog() to Initizlize Controls\r\nhanding a Control Message\r\nUsing a Dialog bolx to Edit Application Data \r\nImplementing Property sheets\r\nLesson Summary\r\nLesson2:Displaying and printing Application Data\r\nUnderstanding Coordinate mapping \r\nScrolling Views\r\nDrawing in a Device Context\r\nPrintig Process\r\nPrint Preview\r\nLesson summary\r\nLesson 3:Using Multiple threads\r\nMultithreaded Applications\r\nMultithreading with MFC:Cwin Thread Class\r\nCreating a Worker thread\r\nThread Synchronization\r\nlesson summary\r\nLesson 4:Context-Sensitive Help\r\nWinHelp\r\nhelp Development Components\r\nSource Code Components\r\nCreating Help Topics \r\nHTML Help\r\nLesson summary\r\nLab5:Enhancing the STUpload Data Display\r\nDisplaying the Select Fund Dialog Box\r\nDisplaying fund Names in the Funds List box\r\nHanding NOtification Messages from the select Fund Dialog box \r\nMaking the Select Fund Dialog Box a Topmost Window\r\nDisplaying STUPload Application Data \r\nReview\r\n\r\nChapter Persistent Data\r\nlesson 1:File I/O\r\nCFile Class\r\nOpening and Losing Files\r\nReading and Wirting files\r\nLesson summary\r\nLesson2:Serialization of Application data\r\nMFC support for Serialization\r\nSerializing Application Data\r\nMaking a Serializable Class\r\nSerializing MFC Collection Classes\r\nlesson Summary\r\nLesson 3:Accessing the Registry\r\nRegistry Data \r\nMFC Support for the Registry\r\nWorking with Application User Profile Settings\r\nREgistry Support in the Win32 API\r\nLesson summary\r\nLab6:Working with Persistent Data \r\nImproting Data from a Text File\r\nImplementing STUpload Serialization\r\nReview\r\n\r\nChapter7:Adding Database Support\r\nLesson1:Data Access with Visual C++\r\nData Access Interfacs\r\nUsing the ODBC Data Source Administrator\r\nRelational Database Concepts\r\nStructured Query Language\r\nLesson Summary\r\nLesson 2:MFC Database Support\r\nMFC Database Classes\r\nCreating a DAtabase Application with AppWizard\r\nFiltering a Recordset\r\nLesson Summary\r\nLesson 3:Introduction to ADO \r\nAdvantages of Using ADO\r\nADO Object Model \r\nUsing the ADO Data Controls\r\nLesson Summary\r\nLab7:Querying a Database\r\nIMplementing the Query Dialog Box\r\nImplementing the Query Results Dialog box\r\nhanding the Query Database Menu Command\r\nReview\r\nChapter8 Introducing the Component Object Model\r\nLesson 1:COM Architecture\r\nUsing COM Objects\r\nCOM Interfaces\r\nGUIDs\r\nCOM Registry Entries\r\nCreating Objects Using CoCreateInstance()\r\nLesso Summary\r\nLesson2:Interface Marshaling\r\nComponent Execution Contexts\r\nMarshaling Tchnologies\r\nLesson Summary\r\nLesson 3:Dispatch Interfacecds\r\nIDispatch Interface\r\nVARIANT Data Type \r\nType Libraries\r\nDual Interfaces\r\nLesson Summary\r\nLesson4:Threading Models\r\nCOM Threading Models\r\nThreading -Model Registry Keys\r\nlesson Summary\r\nLesson5:ActiveX Controls\r\nActiveX Controls and Containers\r\nFeatures of ActiveX Controls\r\nlesson Summary\r\nLab8:Using the OLE/COM Object Viewer\r\nReview\r\nChaper9 Creating COM Components\r\nLesson1:Creating com Components with ATL\r\nusing ATL\r\nCreating an ATL COM Project\r\nInserting a NEW COM Component\r\nAdding Methods to the Component Interface\r\nAdding Properties to the Component Interface\r\nImplementing Component methods\r\nLesson Summary\r\nlesson 2:understanding ATL COM Ccomponents Code\r\nComponent Class Definition \r\nComponent Method Implementation Global Entry-Point Functions\r\nRegistry\r\nScript Resource\r\nIDL file\r\nAlternative Approaches To Development\r\nLesson Summary\r\nLab9:Creating the STUpload Database Access Component\r\nReview\r\nChapter 10 COM Clients\r\nLesson1:COM Client Applications\r\nCOM Server Header Files\r\nVisual C++ COM Compiler Support\r\nlesson summary\r\nLesson2:Reusing COM Objects\r\nObject Reuse in Visual C++ and COM\r\nContainment and Aggregation \r\nImplementing AGgregation using ATL\r\nLesson Summary\r\nLab10:Implementing the UploadStockData Component\r\nCreating a Data Link file\r\nImplementing the IUploadStockData Interface Methods\r\nImplementing the Upload Data Command for the STUpload Application REview\r\n\r\nChapter11 Creating ActiveX Controls\r\nLesson 1:Creating ActiveX Controls with MFC\r\nCreating an MFC ActiveX Control Project\r\nDefining the Control Interface\r\nCreating Property Pages\r\nOnDraw()Function\r\nImplementing the Control Method \r\nTesting the Control\r\nLesson Summary\r\nLesson2:Creating ActiveX Controls with ATL\r\nAdding Controls to an ATL COM Project\r\nADding Properties\r\nADding Events\r\nADding Methods\r\nCreating Property Pages\r\nDrawing the Control\r\nMFC ro ATL?\r\nLesson Summary\r\nLab11:Using an Activex Control in an Application\r\nReview\r\nChapter 12 Internet Programming \r\nLesson1:Working with Dynamic HTML\r\nReview fo the Internet,Intranets,and HTML\r\nDynamic HTML\r\nMicrosoft WebBrowser Conmtrol\r\nMFC Web Browser -Style Applications\r\nCreating HTML Controls with ATL\r\nDynamic HTML Scriptlets\r\nLesson summary\r\nLesson2:Creating ActiveX Documents\r\nusing ActiveX Documents\r\nUsing ActiveX Documents on a Web Site\r\nCreating an ActiveX Document Server\r\nDeploying an ActiveX Document on a Web Site\r\nlesson summary\r\nLesson3:Programming the Web Server\r\nISAPI Server Extensions\r\nCreating an ISAPI Server Extension Using MFC\r\nISAPI Filters\r\nLesson summary\r\nLab12:Creating STUpload as an ActiveX Document Server\r\nReview\r\nChapter13:Error Handling,Debugging,and Testing \r\nLesson1:ErrorHandling\r\nAnticipating Progrma Errors\r\nExceptions\r\nLogging Errors\r\nLesson Summary\r\nlesson2:COM Errors\r\nHRESULT Codes\r\nError Event\r\nLesson3:Introduction to Dubugging \r\nWhat Is a Debugger?\r\nDebug vs.Release\r\nMFC Debug Macors\r\nlesson Summary\r\nLesson 4:Using the Integrated Debugger\r\nBreakpoints\r\nSetting Breakpoints\r\nBreakpoints Dialog Box\r\nRunning the Debugger\r\nDebugger Windows\r\nStepping Through Code\r\nEdit and Continue\r\nDebugging COM Components\r\nLesson Summary\r\nLesson5:Using the Dependency Walker\r\nWhat is a Dependency ?\r\nDependeney Information\r\nLesson Summary\r\nLesson 6:using Spy++\r\nSpy++ Views\r\nViewing windows Messages in Spy++\r\nLesson summary\r\nlesson7:TEsting Your Application \r\nGlossary of Testing Terms\r\nDeveloping a Test Plan\r\nLesson Summary\r\nlab13 :Debugging the STU pload Application\r\nRunning STUpload in the Debugger\r\nSteping through Code\r\nSetting Breakpoints\r\nREview\r\nChapter14 Developing Desktop Applications\r\nlesson1:Windows Setup Programs\r\nSetup Program Conventions\r\nGuidelines for Writing a Setup Program\r\nUninstall Program Conventions\r\nADding and Removing Registry Information\r\nCabinet Files\r\nRegistry Files\r\nlesson Summary\r\nLesson 2:Using InstallShield\r\ninstalling InstallShield\r\nRunning the InstallShield Tutorial\r\nIncluding and REmoving Program files\r\nCreating the Setup.exe Program\r\nLesson Summary\r\nLesson3:Registering COM Components on the Client Computer\r\nSelf-Registering Components\r\nAdding Self-Registering Components to an Installshield Project\r\nLesson Summary\r\nlesson4:Deployment Options\r\nMedia-Based Deployment\r\nNetwork-Based Deployment\r\nWeb-BASEd Deployment\r\nDeploying ActiveX Controls\r\nDeployment Checklist\r\nLesson Summary\r\nLesson 5:Zero ADministration for Windows\r\nFeatures of ZAW\r\nThe Windows Installer\r\nSystems Management Server\r\nZero ADministration Kit\r\nLesson Summary\r\nLab14:Packaging and Deploying the STUpload Application\r\nBuilding a Release Version of STUpload\r\nCreating the InstallShield Project\r\nAdding Dependencise to the Project\r\nBuilding and Testing the Setup Program \r\nReview\r\n\r\nAppendix Review Questions and Answers\r\n\r\nGlossary\r\n\r\nIndex
无封面