TK Soh wrote:
>
> Actually I didn't specify any parent at all:
>
> class MyDialog(Dialog):
>    def __init__(self, title=None, tmpl=None):
>        self.title = title
>        if tmpl is None:
>            tmpl = dlg_template()
>        Dialog.__init__(self, tmpl)
>
> I don't see the parent being passed into the dialogs in pywin32's
> sample code. Is this going to be a problem?

Well, in looking at the code, I don't even see a way to specify one, so
this seems to have been a rat hole.

I'm mildly surprised by that.  The CreateDialog APIs all take a "parent"
window, and the parentage plays a part in determining window stacking
and taskbar presence.  I wonder what the win32ui code uses for that...

-- 
Tim Roberts, [EMAIL PROTECTED]
Providenza & Boekelheide, Inc.

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

Reply via email to