Newbie: pywin problem

Martin DeMello martindemello at yahoo.com
Mon Aug 2 09:48:07 EDT 2004


Here's a transcript:

>>> import win32ui
>>> template = pywin.mfc.docview.DocTemplate(None)
>>> doc = pywin.scintilla.document.CScintillaDocument(template)
>>> view = pywin.scintilla.view.CScintillaView(doc)
>>> fr = win32ui.GetMainFrame()
>>> view.CreateWindow(fr)

Now how do I get the window to display? I thought the call to
CreateWindow would do it, but the window just gets created silently.

martin



More information about the Python-list mailing list