On 5/23/07, Mark Hammond <[EMAIL PROTECTED]> wrote: > I think the problem is likely related to the "main frame" issue quoted below. > I suggest you debug what the app's "main frame" is at any given point in > time, and confirming the value is still appropriate.
I tried putting this statement in the context menu before calling the dialog, as well as inside OnInitDialog() of the custom dialog, but both generate the same errors: print "mainframe = ", win32ui.GetMainFrame() win32ui: The frame does not exist I wonder this could be caused by the fact the my code isn't really an app, but simply a shell extension. Anything else I should try? _______________________________________________ Python-win32 mailing list Python-win32@python.org http://mail.python.org/mailman/listinfo/python-win32