MDI: Demonstrates the MFC MDI Interface

The MDI sample application shows how to create a multiple document interface (MDI) application using the Microsoft(R) Foundation Class (MFC) library. The application provides an MDI frame window and two kinds of MDI child windows that you may open within the frame. One child window is similar to the HELLO sample application (it displays "Hello World!" in its client area). The other child window contains a bouncing ball.

The MDI source code illustrates the following concepts:

MFC MDI application structuring

Coordinating MDI frame and child classes

Using Windows timers

Using the CBitmap class for constructing and drawing a bit pattern into a device context

MDI requires special MFC libraries and include files; see the "MFC Libraries" and "MFC Include Files" abstracts to copy these files to your development system. MDI uses the following libraries: MLIBCEW.LIB (C Windows runtime library), LIBW.LIB (Windows library), and either MAFXCW.LIB (MFC medium-model Windows retail library) or MAFXCWD.LIB (MFC medium-model Windows debug library).

To build this application, you must have Microsoft C/C++ version 7.0 installed on your system.

{ewc navigate.dll, ewbutton, /Bcodeview /T"Click to open or copy files in the mdi project." /C"samples}