0% found this document useful (0 votes)
53 views

Microsoft Visual Studio .NET C++ For Dummies Quick Reference Guide - Contents - 2

pdf

Uploaded by

anirban das
Copyright
© © All Rights Reserved
Available Formats
Download as PDF or read online on Scribd
0% found this document useful (0 votes)
53 views

Microsoft Visual Studio .NET C++ For Dummies Quick Reference Guide - Contents - 2

pdf

Uploaded by

anirban das
Copyright
© © All Rights Reserved
Available Formats
Download as PDF or read online on Scribd
You are on page 1/ 6
Table of Contents WAtrOAUCtION oo. ccecesesssscsssssscccscsesccsesssececeacceeee How This Book Is Organized .... Conventions Used in This Book The Icon Crew Part I: Getting to Know Visnal C++ ccsccccsccsceee Customizing the Developer's Workshop Customizing Toolbars... Adding tools to a toolba: Creating a toolbar Deleting a toolbar Displaying or hiding a toolbar Removing tools from a toolbar Renaming a toolbar.. Resetting a toolbar .. Menus .. Customizing the Tools menu The wizard bar action menu Project Wizards .. Starting Visual C++ Creating a desktop icon . Running Visual C++ from the Start me. Window Watching... The Editing window . Exploring the Workspace window The Output window .. Workspace pop-ups . Part II: Creating a New Application ...... Adding Files to a Project... Creating and adding new files Adding existing files Applications ............ Dialog-based applications Document applications Compiling and Running a Program Creating Applications Dynamic Link Libraries . MFC AppWizard.... Step 1: Selecting an application typ Step 2: Adding database support . Step 3: Using compound documents Step 4: Adding features to your application . More Step 4: Document template strings Fven more Step 4: Window styles... MW worn ms ARRBBNEESoooLVowmor] Visual C++ 6 Quick Reference Step 5: Comments and library options Step 6: Naming your classes Project Settings .. Utility Libraries Part IN1: Building and Debugging a Project... 33 Adding Classes to a Project... Adding an MFC class using the ClassWizard .. Adding a generic class Adding Document Templates Step 1: Adding a string table entry Step 2: Creating and adding a template Adding Functions to a Clas: Adding member functions Using virtual functions ... Adding Windows Message Handlers Adding a message handler with Clas: Adding a message handler with the Wizard Bar Breakpoints .... Setting breakpoints . Clearing breakpoints .. Conditional breakpoints Building an Application... Building a Debug version . Building a Release version The ClassWizard .... Compiling a Single File Debugging..... Editing Program Files . Error Handling ... Programming errors Syntax errors The catch statemen’ Searching for Text Bookmarks The Find comman: The Find in Files command and window Replacing text....... Stepping through a Program Stepping into a function Stepping over a function Stepping out of a function Watches .... Setting watches Clearing watches Using QuickWatch Wizard Bar Table of Contents r Part IV: The Resource Workshop. Accelerators....... Creating and editing accelerators . Assigning accelerator IDs Setting accelerator keys... Creating new accelerator tables Animation Controls Bitmaps . Creating and editing bitmap: Importing bitmaps .. Creating toolbars from bitmaps. Common Controls ..... Creating common controls Adding member variables Adding message handlers Dialog Boxes... Creating a dialog box. Adding a dialog class .. Edit Controls .. Retrieving text from a text control Property Sheets .... Creating a property sheet Creating property pages Adding property pages to a property sheet Selection Controls ..... Button controls Combo boxes List box ... List controls Progress bars. Radio buttons Scroll bars Sliders Spin button: Tab controls Tree controls. Wizards . Creating a wizard Making the Finish button appear Part UV: The Help Workshop .. Compiling Help Files Creating a Help Project The contents file . Making new window types Editing Help Files Footnotes ... & Visual C++ 6 Quick Reference Browse sequences .. Graphics Hotspots Creating links Macros .... ‘Topic pages Help Workshop Help File Testing Help Files Help Author Mode Topic Files 09 Microsoft Word 09 WordPerfect . 09 Visual C++ Help Tools Segmented Hypergraphics Ed Dialog Box Help Editor .... Part VI: Constants, Arrays, and Variables... 113 Arrays... Accessing array elements Declaring arrays . Pointers to arrays .. Declaring an array variable Accessing a subset of a large array. C++ Data Types . Casting Variables . Constants... Functions as Variables Pointers to functions Functions as structure member: Pointer Variables ...... Declaring pointer variables Dereferencing pointer variables Pointer arithmetic .. Typecasting pointers String Handling . Variables . Automatic variable: Static variables .. Part VII: Decision-Making Statements . For Loops... Forever Loops If Statements .. Simple if statements . If-else statement Multiple else condition: Labels ....... Table of Contents oe Loops..... Exiting loops .. Nested loops .. Switch Statements Cases Default .. While Loops Part VIN: Classes ..cccccsssssssesscessssccssscssceee 163 144 145 146 Abstract Classes... Accessing Class Member: The private keyword .. The protected keyword .. 147 The public keyword 147 Base Classes... 148 Class Variables 149 Naming... 150 Static versus automat 151 Constructors ....... 152 Declaring constructors . 152 Copy constructors ...... 153 154 154 155 Using multiple constructors Declaring a Class Derived Classes Destructors .. 156 Friend Classes 157 Functions ...... 158 158 159 160 161 162 163 164 164 Inline functions Naming functions Overloading functions Virtual functions .. Inheritance Structures and Unions The This Pointer Virtual Classes... Part IX: Operators ....c..00 Arithmetic Operators . Assignment Operators Bit Control Operators... Increment and Decrement Operators Logical Operators Overloading Operators Precedence and Order of Evaluation . The Sizeof Operator Visual C++ 6 Quick Reference Part X: Taking Advantage of Windows ....... 175 176 176 178 181 182 Splash Screens ... Threads ....... The Windows Registry . Part XI: The Microsoft Foundation Class. Application Classes....... CObject — Genesis of the Classe: Dialog Classes .... Dialog Command Enablers MFC Programming Tips .... Techie Talk ccccccccsscccssssscessssesececeectseteeeceees 189 Book Registration Information ..... Back of Book

You might also like