Alphabetical List of MFC Samples
The following is an alphabetical list of the MFC samples. To find an MFC sample by category, see Categorical List of MFC Samples.
Sample | Description |
---|---|
ACDUAL | Demonstrates how to add dual interface support to an MFC-based Automation server. |
AUTOCLIK | Illustrates Automation features. Includes AUTODRIV, a simple Automation client application that drives the AUTOCLIK sample application. |
BINDSCRB | Illustration of the use of new COM interfaces to components currently supported by the Microsoft Office suite of products. |
BUTTON | Demonstrates use of an in-place active menu, a stock property page, and the About box control option. |
CALCDRIV | Automation client. |
CATALOG | Illustration of direct calls to ODBC functions in general, and the ODBC functions SQLTables and SQLColumns in particular. |
CATALOG2 | Illustration of direct calls to ODBC functions in general using Windows Common Controls. |
CHATSRVR | Discussion server application for CHATTER. |
CHATTER | Client application that uses Windows Sockets. |
CHKBOOK | Record-based (nonserialized) document. |
CIRC | Demonstrates ActiveX control basics, including control painting, stock and custom properties, stock and custom events, use of colors and fonts, the stock Font property page, the default property page, and versioning |
CMNCTRL1 | Demonstrates how to create and change the styles of Windows Common Controls using MFC classes (Part 1). |
CMNCTRL2 | Demonstrates how to create and change the styles of Windows Common Controls using MFC classes (Part 2). |
COLLECT | MFC C++ template-based collection classes, and standard prebuilt collection classes. |
CONTAINER | Illustrates ActiveX Visual Editing container. |
COUNTER | Using an ISAPI DLL to send image data (rather than HTML data) back to a Web browser. |
CTRLBARS | Custom toolbar and status bar, dialog bar, and floating palette. |
CTRLTEST | Owner-draw list box and menu, custom control, bitmap button, spin control. |
CUBE | OpenGL application using MFC device contexts along with OpenGL's resource contexts. |
DAOCONT | DAO database class functionality and ActiveX controls let you examine a database. |
DAOENROL | Based on ENROLL, but migrated to the DAO database classes. |
DAOTABLE | Creates a Microsoft Access database (.mdb file) and its tables, fields, queries, and indexes using MFC DAO database classes. |
DAOVIEW | DAO database classes and Windows Common Controls let you view the schema of a database. |
DB | A control that illustrates use of the CRecordSet and CDatabase classes. |
DBFETCH | Demonstrates the use of bulk row fetching in the ODBC database classes. |
DBVList | Demonstrates the virtual list view functionality available for the list view common control. |
DHtmlExplore | Demonstrates handling DHTML events and using DHTML DDX. |
DIBLOOK | Device-independent bitmap and color palette. |
DLGCBR32 | Adding a toolbar and a status bar to a dialog-based application. |
DLGTEMPL | Shows how to create dialog templates dynamically. |
DLLHUSK | Sharing the DLL version of the Foundation class library with an application and custom DLL. |
DLLScreenCap | A regular DLL that can be statically or dynamically linked to the Microsoft Foundation Class Library. |
DOCKTOOL | Dragging and floating toolbars that are "dockable". |
DRAWCLI | Full-featured object-oriented drawing application that is also an ActiveX Visual Editing container. |
DYNABIND | Dynamic binding of database columns to a recordset. |
DYNAMENU | Dynamically modifying list of items in menus; handling commands not known at compile time; and updating the status bar command prompt for such commands. |
ENROLL | Illustrates database features using a student registration database. |
FIRE | Dialog-based application that demonstrates five Windows Common Controls. |
FTPTREE | Displays the contents of an FTP site in a tree control. |
GUIDGEN | A dialog-based MFC application used to generate globally unique identifiers, or GUIDs, which identify OLE classes, objects, and interfaces. |
HELLO | Simple application with frame window but no document or view. |
HELLOAPP | Minimal "Hello World" application. |
HIERSVR | ActiveX Visual Editing server application with drag and drop. |
HTMLEdit | Wraps the Internet Explorer MSHTML editing control. |
HTTPSVR | Uses MFC Windows Socket classes to implement an Internet HTTP server. |
IMAGE | Demonstrates an ActiveX control that is capable of downloading data asynchronously. |
INPROC | An in-process Automation server that can be loaded as a DLL in the client's address space. |
IPDRIVE | A simple Automation client application that drives the INPROC sample application. |
LICENSED | A control that enforces use of a design-time and run-time license. |
LISTHDR | Demonstrates the List View and Header Common Controls. |
LOCALIZE | A control with a localized user interface that demonstrates use of separate type libraries and resource dynamic-link libraries (DLLs) for localization. |
MAKEHM | Command line utility for associating resources with Help contexts. |
MDI | MDI application that does not use documents and views. |
MDIDOCVW | New version of the MDI sample that uses the document/view architecture. |
MFCBIND | Shows how to create an ActiveX document (formerly known as a DocObject) container using the ActiveX document container support classes. |
MFCCALC | An Automation server that implements a simple calculator. |
MFCIE | Uses MFC's CHtmlView and CReBar classes to implement a subset of the functionality provided by Microsoft Internet Explorer. |
MFCRows | Shows how to use COleDBRecordView to scroll through a table in a database. Also how to use multiple accessors so you can update an Access table that contains an AutoNumber field to be retrieved. |
MFCUCASE | Demonstrates MFC support for Internet Server filter DLLs. |
MMXSwarm | Demonstrates how to use CImage, the __m64 data type, and device-independent bitmaps (DIBs). |
MODELESS | Demonstrates the use of an MFC CDialog object as a modeless dialog. |
MTGDI | Multithread illustration, where GDI resources are converted to MFC objects and back. |
MTMDI | Multithread illustration, where user-interface events are processed in a separate user-interface thread. |
MTRECALC | Multithread illustration, where recalculations are done in a worker thread. |
MULTIPAD | Simple MDI text editor using the CEditView class. |
MUTEXES | Demonstrates the use of the CMutex class for multithreading. |
NPP | Editor demonstrating toolbars, status bars, and other controls. |
OCLIENT | ActiveX Visual Editing container application, with drag and drop. |
ODBCINFO | Shows how to determine various ODBC driver capabilities at run time. |
OLEVIEW | Implementing an OLE object browser through custom OLE interfaces. |
PAL | Displays the colors of a palette. Demonstrates read-only properties, persistent Get/Set properties, persistent parameterized properties, and picture properties. |
PROPDLG | Property sheets (dialogs). |
PUSH | A control subclassed from a Windows owner-drawn button control that demonstrates stock properties, custom events, and picture holders. |
REGSVR | This utility is used to invoke the self-registration code built into ActiveX Controls to add or remove a control's information in the registry. |
ROWLIST | Illustrates full row selection in a list-view common control. |
SCRIBBLE | SCRIBBLE is drawing application that provides simple illustrations of a wide breadth of MFC features. |
Scheduler | Shows how to use Visual C++ libraries classes to create HTML-based dialog boxes. |
SimpleImage | Uses the CImage class to load, display, and save a variety of different image formats, including .bmp, .gif, .jpg, and .png. |
SMILEY | Modifying properties, calling methods, and handling events from the SMILE control in the SMILEY container. |
SNAPVW | Shows how to use property pages in a MDI child frame window. |
SPEAKN | Multimedia sound using user-defined resources. |
SPINDIAL | A control with the visual appearance of a spin-dial that demonstrates property page data validation. |
Spiro | A game that shows to use CImageList and how to use memory display contexts in applications requiring animation effects. |
StockTicker | An MFC and ATL application that retrieves stock quotes from the Web and displays them in an ATL control. The user can set the display's properties, including rate of data refresh. |
STDREG | Tool for populating the Student Registration database (used by the Enroll database) in any format supported by an ODBC driver. Illustrates SQL table creation. |
SUPERPAD | ActiveX Visual Editing server that edits text using CEditView. |
TEAR | MFC console application that uses the Wininet.dll. |
TIME | A control that is invisible at run time and fires a timer event at set intervals. Demonstrates notification functions and ambient properties. |
TSTCON | Implements an ActiveX control container using MFC's support for OLE embedding. You can use TSTCON to test ActiveX controls, change their properties, and invoke their methods. |
TESTHELP | An ActiveX control that has its own help file and tooltips. |
TRACKER | Illustration of the various CRectTracker styles and options. |
VCTERM | Simple terminal emulation program illustrating the use of the Mscomm32.ocx ActiveX control. |
VariantUse | Demonstrates changing existing data into a variant and changing a variant into other types of data. |
VIEWEX | Multiple views, scroll view, splitter windows. |
WORDPAD | Uses MFC's support for rich edit controls to create a basic word processor. |
WWWQUOTE | Retrieves information from a database and provides it to the user via an HTTP connection to the server. |
XLIST | A control, subclassed from a Windows list box, that displays text or bitmap items. |