PythonWin MFC MDI App Builder

Generates the MFC resource DLL and python files for
an MFC "Multiple Document Interface" application.

Requirements:
       * Python 1.5.1 or later already installed.
         Unless you built your python with
         CHECK_IMPORT_CASE undef'ed, you need to
         set the environmental variable PYTHONCASEOK
         (to anything) before running these programs.
       * PythonWin build 119 or later already
         installed.
       * MS Visual C++ 5.0 or better.

Basic features of the generated Apps:
       * Command line parsing.
       * Log file (optional debug tracing).
       * Persistent variable storage in the Windows
         registry.
       * (Optional) Splash screen.
       * Error trapping & reporting.
       * Multiple document types (in addition to the
         basic doc type, can edit .log, .txt, and .py
         files).
       * Manage startup state (minimized, maximized,
         etc.) from the state the app was last quit in.
       * Resource DLL for GUI components.
       * Accepts "Dropped" files.
       * "About" dialog reports loaded module versions.
       * "Observer/View" event notification.
       * Support for tabbed dialogs (aka Property
         Sheets).
       * Central User message notification.
       * Incorporates PythonWin's "tools" menu.
       * Support for modal and modeless dialogs.
       * Cancelable progress dialog.
       * Floating toolbar.

You specify the application name, company name,
document descriptor, and file extension, and a
Python based MFC MDI application is generated.


            PyScribble

An implementation of the famous MFC tutorial (thru
step 6) is included.  The skeleton was generated
using the MFC MDI App Builder.


            Installation

Download and run the file

  PyMDITemplate.EXE

This is a Wise installation script and will
install the software in the directory of
your choice.

The directory you choose for installation will be
added the the Python path.

In the same start menu group that you chose for
your Python installation, three programs will
be added:

   MakeMDIAppReadMe
   MakeMDIApp
   PyScribble

When you run the MakeMDIApp program, you are asked
for the Application Name, Company Name,
Short document description, and the
Document file extension.

Then, the DevStudio project is created in a
subdirectory under installDir\msdev, and
the Python source files are placed in a
directory under your python top directory
with the same name as your application:

e.g.
 c:\Python\
   AppName\
     AppName.py
     ...

If you choose to, an attempt is made to
invoke the 'MSDev.Application' COM
object to build the resource DLL.  If all
this works, the newly created app is launched
with the command e.g.:

pythonwin.exe /app c:\python\AppName\AppName.py


Comments and suggestions welcomed.

Roger Burnham
[email protected]