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.
- SCRIBBLE and TRACER show 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.
- TRACER and SPEAKN are applications that have a single dialog box as the user interface.
- WIZARD97 demonstrates implementing a wizard that supports background bitmaps and wide header titles and images. This wizard design is supported for Windows 98 and Windows NT 5.0; you must be using Windows 98 or Windows NT 5.0 for this sample to work properly.
See Also
Microsoft Foundation Class Library Samples Index