MULTIPAD: Demonstrates an MDI Notepad Application

Microsoft(R) Windows(TM) includes a basic text editor called Notepad. MULTIPAD is a Microsoft Foundation Class (MFC) adaptation of Notepad that uses the multiple document interface (MDI) paradigm to allow the user to manipulate any number of concurrently open text files. MULTIPAD is fully functional and includes printing support as well as a status bar at the bottom of the window and a cache of most-recently-used filenames (saved between program invocations) so that users may quickly access recently used documents.

The MULTIPAD source code illustrates the following concepts:

Non-trivial MDI application structuring

Menu command dispatching

Dialog box initialization and management

Printing

Porting existing Windows code for use with MFC

Swap-tuning a Windows-based application for maximum efficiency

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

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 multipad project." /C"samples}