Re: binding Microsoft Foundation Classes to Python

Mark Hammond (MHammond@cmutual.com.au)
Mon, 12 Sep 1994 01:27:22 GMT

In article <34ntsp$kv5@age.cs.columbia.edu>, karp@news.cs.columbia.edu (Peter Karp) says:
>
>Has anyone tried to bind the MFC to Python? I'm particularly interested
>in the Visual Class hierarchy (e.g., CWnd, CDialog, CListBox etc).

Yes - we have done this. We have a nearly complete framework that
has Windows, Views, Documents, DC's, Menu's, Fonts, etc etc etc.

We nearly have scribble implemented totally in Python.

This is a general purpose framework, and using it, we have built
a GUI version of Python, that grabs input from, and redirects output
to a CEditView window.

We are still working madly on this, and cant seem to stop long
enough to update the version that is sitting on the Python FTP site.
However, by the end of this week I hope to have a new version up for
FTP (but I have said that before). If you are game, and would be
interested in helping to complete this framework (ie, still needs
dialogs, as doing them properly is non trivial) then contact me via
mail, and I will send you the incremental updates as we work on them.

This stuff works on NT, and on Win 3.1 using Win32s.

(This work is being done by myself and brennal@hal.com)

FWIW, both Save Brennan and myself intend using this in commercial
applications, so we intend making it good. An early version is
in an NT directory on the Python distribution site. It is quite out
of date, but should give you a feel for what we are doing.

Please feel free to mail me for more info...

Mark. (MHammond@cmutual.com.au)