Fundamentals of

Totally free education on the Internet

About · FAQ ·Tell a Friend · Comments  · Course Home Page  ·  IT Learning Center

About this Course

coverIT05.jpg (2354 bytes)

This course is intended for serious computer hobbyists, IT students, and IT professionals. You need Windows and Visual C++ installed.

The free online textbook for this course is Visual C++ 6 Unleashed . Read the Introduction to the book.

offiste01.jpg (430 bytes) Indicates links that take you away from the Free-Ed.Net site. Use the links on these offsite pages carefully, and use the Back function on your browser to return to the assigments.


Lesson 5. Creating and Using Dialog Boxes

Dialog boxes remain the prime mechanism for detailed data exchange between the application and user.

The MFC libraries provide extensive support for template-based dialog boxes through the CDialog base class.

ClassWizard is an excellent tool for creating dialog box classes and automating the transfer between a dialog box's controls and mapped member variables during dialog box data exchange.

You can only do so much with ClassWizard, however, and often you'll need to get down to the code to gain the full benefits of the dialog box exchange and support mechanisms.

This lesson focuses on some of these advanced techniques to help you exploit the dialog box to its full potential.

Reading Assignments

Read the following sections from your free online textbook:

offiste01.jpg (430 bytes) Handling Dialog Boxes in MFC
offiste01.jpg (430 bytes) Dialog Box Data Exchange and Validation
offiste01.jpg (430 bytes) Derived Control Classes in Dialog Boxes
offiste01.jpg (430 bytes) Modeless Dialog Boxes

Learning Activities

  1. Use this search box to refine and expand your understanding of new terms and concepts in the reading assignments.

Custom Search
  1. offiste01.jpg (430 bytes) Read the Summary of the lesson.

Web design and curriculum: David L. Heiserman

Copyright © 2005 SweetHaven Publishing Services
All Rights Reserved