Share via


Dialogs and Controls Samples

Many of the samples use dialogs, controls, and the framework's dialog data exchange (DDX) support. The following samples illustrate special common dialog (COMMDLG.DLL supported) classes and control classes and some special techniques for using dialogs and controls:

  • CHKBOOK illustrates custom data exchange (DDX) functions.
  • COLLECT coordinates the adding and removal of entries in a list box with the adding and removal of entries in a collection.
  • CTRLTEST and SPEAKN use a bitmap button.
  • CTRLTEST also illustrates:
    • A spin control.
    • Implementing and using custom controls and subclassing a control.
    • Owner drawing of menus and list boxes.
  • DLGCBR32 shows how to add a toolbar and a status bar to a dialog-based application.
  • DLGTEMPL illustrates how to create a dialog template dynamically.
  • MDI shows the COMMDLG color dialog box.
  • MDIDOCVW is a new version of the MDI sample that uses the document/view architecture.
  • MODELESS demonstrates the use of an MFC CDialog object as a modeless dialog.
  • PROPDLG illustrates property sheet dialogs, also known as tabbed dialogs.
  • Scheduler shows how to use Visual C++ libraries classes to create HTML-based dialog boxes.
  • SCRIBBLE shows simple use of dialog data exchange.
  • SNAPVW shows how to use property pages in a MDI child frame window.
  • SUPERPAD has an About dialog box that shows system resource usage. This sample also shows the COMMDLG font dialog box.
  • SPEAKN has a single dialog box as the user interface.

See Also

MFC Samples | Categorical List of MFC Samples