Pugh-Killeen Logo

Microsoft Visual C++ and MFC

Home | Contact Us

Description

This course introduces the programmer to Microsoft Visual C++. It describes how Visual C++ is used to create Microsoft Windows programs. The five day class combines lecture with hands-on exercises. The class assumes that students are C++ programmers who have used Windows applications.

Objectives

By the end of the course you will be able to:

  • Write a Microsoft Windows program using Microsoft Visual C++
  • Understand the different parts of the Visual C++ workbench including the App Studio, the Class Wizard and the Trace Window
  • Write member functions that respond to Microsoft Windows events

Instructor

The instructor is Kenneth Pugh, a recognized C and C++ language expert. Mr. Pugh has many years of experience in programming a variety of languages and operating systems. He is author of several books, including C Language for Programmers and All on C. He was a columnist for the C User's Journal and the C++ Journal. He has been on the faculty of the University of Hawaii and Wellesley College.

Outline

  • Introduction
    • Features of Microsoft Visual C++
    • Creating an sample Microsoft Windows program
    • Creating a program using App Wizard
    • The Application Framework
    • Microsoft Foundation Classes
  • The Tools
    • Visual Workbench
    • App Studio
    • App Wizard
    • Class Wizard
  • Window classes
    • CApp - the application
    • CFrameWnd - the window
    • CView - the view
    • CDoc - the document
    • CDocTemplate - connection between CDoc, CView, and CFrameWnd
    • Class Wizard Operations
  • Messages
    • The Message Table
    • Class Wizard operations
  • Resources
    • App Studio operations
    • Menus
    • Dialog Boxes
    • Icons
    • Bit maps
    • String table
    • Accelerator keys
    • Resource properties
  • Controls and Variables
    • Dialog Data Exchange
    • Dialog Data Validation
    • Class Wizard operations
  • Other operations
    • Printing
    • Help
    • Files and serialization
    • OLE support
  • General purpose classes
    • Time and date - CTime, CDate
    • Strings - CString
    • File - CFile
  • Debugging, Diagnostics, and Errors
    • Tracing - TRACE
    • Assertions
    • Memory leaks
    • Exceptions

Copyright (c) 1996-2007 Pugh-Killeen Associates

Home Services Solutions Classes Resources About Us Contact Us Legal