[python-win32] win32ui and resources for dialogs

Michael Morisak mmorisak at risc.uni-linz.ac.at
Thu Jan 4 18:08:35 CET 2007


Hi


I have the following Situation:

I have a dialog resource in an dll and I want to open a modal dialog 
with this resource.

dlg= pywin.mfc.dialog.Dialog(myDialogID)
dlg.DoModal()

works but the problem is that i would set the Parent of the Dialog
in MFC the CDialog Constructor allows to pass a Parent (which i need):

explicit CDialog(
UINT /nIDTemplate/,
CWnd* /pParentWnd/ = NULL
);

but i really do not know how to do this with python-win32

thanx for the help and the great work done in python.win32

c.u.



-- 

Michael Morisak
RISC Software GmbH -- Johannes Kepler Universitaet Linz
IT-Center, Hauptstrasse 119 phone: ++43 7236 3343-251
4232 Hagenberg, Austria fax: ++43 7236 3343-250





More information about the Python-win32 mailing list