> Hi Mark
>
> I made the following change:
>
>
> ---
> // @pymethod |PyCDialog|CreateWindow|Create a modeless window for the
> dialog box.
> static PyObject *ui_dialog_create_window( PyObject *self,
> PyObject *args )
> {
> AFX_MANAGE_STATE(AfxGetStaticModuleState());
>
>
Mark Hammond schrieb:
>> i tried to add this to the source of python-win32
>> but i refuses to compile with some link issue
>>
>
> What issue is that? I'd like for pywin32 to build without too much effort -
> and at least fail gracefully when it doesn't.
>
> As Niki says, avoiding MFC is a go
> i tried to add this to the source of python-win32
> but i refuses to compile with some link issue
What issue is that? I'd like for pywin32 to build without too much effort -
and at least fail gracefully when it doesn't.
As Niki says, avoiding MFC is a good idea. You should also find win32gui
Michael Morisak wrote:
>
> Does anybody know what i could do about this problem
> I do not want to write this whole dlg in c++ since i would have to do a
> lot of COM in this dialog then
Do you really need MFC for dialogs? Using MFC for python plug-in is a
PITA. We use ctypes for pure win32 dia
Michael Morisak schrieb:
> 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
> i
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