Roger Upole wrote:

You instantiate the MFC view object without a document, but in order
to actually create a window and do anything useful with it, it needs
a valid document.

Are you absolutely sure about that?

At the MFC level, I can't see anything to stop you from
instantiating a CView and calling its Create method without
ever mentioning a CDocument.

The RichEditView kludge ends up creating a PyDocument object
wrapping a null pointer, and MFC seemed to be happy with
whatever pywin32 build 212 and earlier did with that.

--
Greg
_______________________________________________
python-win32 mailing list
python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32

Reply via email to