EARTH WEEK
Now through April 22, save up to 70% on digital learning resources. Learn more.
Register your product to gain access to bonus material or receive a coupon.
Question 1: In the Hello World example, the compiler tells me that the 'end1' is undefined.
Solution 1: The "end1" should actually be "endl" (Note: The last letter is a lower case L not a number 1.)
The purpose of the book is to give novices the knowledge to begin using Visual C++ 6 at a low price point without sacraficing the content or quality. The proven elements of the Teach Yourself in 24 hours series make this book the most efficient way to learn Visual C++.Teach Yourself Visual C++ 6 in 24 Hours teaches the reader how to program Visual C++ applications in 24 lessons that can each be completed in about an hour each.Users will learn Visual C++ through the elements of the Teach Yourself series. Readers can look forward to learning about all of the various components of Visuall C++, the Developer Studio, creating C++ probrams, Property Pages and Property Sheets, Object-oriented design, and more.
I. GETTING STARTED WITH VISUAL C++ 6.
HOUR 1. Using Visual C++ 6.Exploring Visual C++ 6. Starting Developer Studio. Creating Your First C++ Program. Creating a Windows Program Using AppWizard. Summary. Q&A. Workshop.
HOUR 2. Writing Simple C++ Programs.The Common Elements of a C++ Program. A Simple C++ Program. Summary. Q&A. Workshop.
HOUR 3. Functions, Structures, and Classes.What Are Statements and Expressions Using Functions? What Are Structures? What Are Classes? Rectangles and Regions. Summary. Q&A. Workshop.
II. DIALOG BOXES AND BASIC CONTROLS.
HOUR 4. Using Dialog Boxes.What Is a Dialog Box? Using Dialog Boxes for Input. Creating Dialog Boxes in Visual C++. Creating Dialog Box-Based Projects. Summary. Q&A. Workshop.
HOUR 5. Button Controls.What Is a Button? Associating Member Variables with a Button Control. Controlling Your Program with Conditional Expressions. Enabling and Disabling Buttons. Hiding a Button. Defining and Setting Tab Order. Summary. Q&A. Workshop.
HOUR 6. Using Edit Controls.Understanding Edit Controls. Edit Control Properties. Binding a CEdit Object to an Edit Control. Collecting Entered Text from an Edit Control. Passing Parameters to Dialog Boxes Using DDV and DDX Routines. Summary. Q&A. Workshop.
HOUR 7. Using List Box and Combo Box Controls.What Are List Boxes? Adding a List Box to a Dialog Box. What Are Combo Boxes? Using Loops. Summary. Q&A. Workshop.
III. WINDOWS AND MFC ARCHITECTURE.
HOUR 8. Messages and Event-Driven Programming.Understanding the Windows Programming Model. What Are Messages? A Program to Test for Mouse Clicks. Handling Messages with ClassWizard. What Are MFC Base Classes? Summary. Q&A. Workshop.
HOUR 9. The Document/View Architecture.Visual C++ Support for Document/View. Pointers and References. Exploring Document/View Interfaces. Summary. Q&A. Workshop.
HOUR 10. Menus.What Is a Menu? Creating a Menu. Adding New Menu Items. Creating a Shortcut Menu. Using Keyboard Accelerators. Summary. Q&A. Workshop.
IV. THE GRAPHICS INTERFACE.
HOUR 11. Device Contexts.What Are Device Contexts? How to Use Device Contexts. Stock Objects. Setting the Device Context Map Mode. A Device Context Example. Using Color in Windows Applications. Summary. Q&A. Workshop.
HOUR 12. Using Pens and Brushes.What Is a Pen? Drawing with Pens. What Are Brushes? Summary. Q&A. Workshop.
HOUR 13. Fonts.What Are Fonts? Specifying Font Attributes. Examples of Creating Fonts Using MFC. Selecting and Configuring the Right Fonts. Programming Fonts. Summary. Q&A. Workshop.
HOUR 14. Icons and Cursors.What Is an Icon? Creating Icons Using the Image Editor. What Is a Cursor? Using Cursors in Windows Programs. Summary. Q&A. Workshop.
V. COMMON CONTROLS.
HOUR 15. Spin, Progress, and Slider Controls.The Common Controls. The Spin Control. Using the Slider Control. Using the Progress Control. Summary. Q&A. Workshop.
HOUR 16. Using Bitmaps and Image Lists.What Is a Bitmap? What Is an Image List? Using an Image List. Summary. Q&A. Workshop.
HOUR 17. List View Controls.What Is a List View Control? List View Control Properties. Using a List View Control. Summary. Q&A. Workshop.
HOUR 18. Tree Views.What Is a Tree View Control? MFC Support for Tree View Controls. Using a Tree View Control as a View. Adding Tree View Controls to Dialog Boxes. Deleting Items from a Tree View Control. Performing In-Place Label Editing. Summary. Q&A. Workshop.
HOUR 19. Using ActiveX Controls.What Is an ActiveX Control? Why Use an ActiveX Control? How Is an ActiveX Control Used? An Example Using an ActiveX Custom Control. Summary. Q&A. Workshop.
VI. ADVANCED MFC PROGRAMMING.
HOUR 20. Dynamic HTML.What Is Dynamic HTML? Visual C++ Support for Dynamic HTML. Using MFC and Dynamic HTML. Summary. Q&A. Workshop.
HOUR 21. Printing.What Is Printing in a Windows Program? Understanding the MFC Printing Routines. Querying the Printing Device Context. Adding Printing Functionality to the MFCPrint Example. Summary. Q&A. Workshop.
HOUR 22. Using MFC to Save Program Data.What Are Persistence and Serialization? Why Use Serialization? A Document/View Serialization Example. How Are Document/View Applications Serialized? Summary. Q&A. Workshop.
HOUR 23. Form Views.What Is a Form View? Using a Form View. Summary. Q&A. Workshop.
HOUR 24. Creating ActiveX Controls.What Is an ActiveX Control? ActiveX Control Properties, Events, and Methods. Creating an ActiveX Control. Testing an ActiveX Control. Summary. Q&A. Workshop.
Appendix A: Quiz Answers.Hour 1, "Using Visual C++ 6". Hour 2, "Writing Simple C++ Programs". Hour 3, "Functions, Structures, and Classes". Hour 4, "Using Dialog Boxes". Hour 5, "Button Controls". Hour 6, "Using Edit Controls". Hour 7, "Using List Box and Combo Box Controls". Hour 8, "Messages and Event-Driven Programming". Hour 9, "The Document/View Architecture". Hour 10, "Menus". Hour 11, "Device Contexts". Hour 12, "Using Pens and Brushes". Hour 13, "Fonts". Hour 14, "Icons and Cursors". Hour 15, "Spin, Progress, and Slider Controls". Hour 16, "Using Bitmaps and Image Lists". Hour 17, "List View Controls". Hour 18, "Tree Views". Hour 19, "Using ActiveX Controls". Hour 20, "Dynamic HTML". Hour 21, "Printing". Hour 22, "Using MFC to Save Program Data". Hour 23, "Form Views". Hour 24, "Creating ActiveX Controls".
Appendix B: The Developer Studio IDE.Using Developer Studio's Dockable Windows. What Is the Developer Studio Editor? What Is the Microsoft Developer Network Library?
Index.