[python-win32] win32gui.SetParent method with pyqt

2011-05-03 Thread Matteo Boscolo
Hi All, I got a win mfc application and I have extended it win win32com using the pyqt as windows manager.. all work well but the two windows (pyqt diaolog and mfc application ) are in the some level but I need that the pyqt dialog is modal to the mfc application .. I use this function to se

[python-win32] DispatchWithEvents

2011-05-03 Thread Michael Illgner
Hi I have got some questions regarding win32com.client.DispatchEventWithEvents() Is there any documentation available for this method? I am writing a kind for a network proxy for a custom COM api. and I am using a simple socket server based on the standard python classes. The implemented request

Re: [python-win32] DispatchWithEvents

2011-05-03 Thread Mark Hammond
On 3/05/2011 9:15 PM, Michael Illgner wrote: Hi I have got some questions regarding win32com.client.DispatchEventWithEvents() Is there any documentation available for this method? Only the docstring. I am writing a kind for a network proxy for a custom COM api. and I am using a simple socket

Re: [python-win32] DispatchWithEvents

2011-05-03 Thread Michael Illgner
2011/5/3 Mark Hammond : > There is nothing magic about events - you need to provide your own magic :) >  All the calls are still normal blocking calls - so if you want a model > where methods on your com object are done in the background and fire when > complete, you need to fully arrange for howe

Re: [python-win32] win32gui.SetParent method with pyqt

2011-05-03 Thread Matteo Boscolo
hi all, I solve the problem in this way: this is the definition of the pyqt dialog: .. ... class ClientInterface(QDialog): ''' Class that manage all the interface actions ''' def __init__(self,hwid=False): ''' Dialog Constructor ''' parent=None

Re: [python-win32] Probelm with win32api dll load failed

2011-05-03 Thread DonAmit
You can do this easy by adding this to the options dict in setup.py 'dll_excludes': [ "mswsock.dll", "powrprof.dll" ] source: http://stackoverflow.com/questions/1979486/py2exe-win32api-pyc-importerror-dll-load-failed -Amit Andrew Spagnoletti wrote: > > Hi, > ? > I have developed an applic

Re: [python-win32] DispatchWithEvents

2011-05-03 Thread Mark Hammond
On 4/05/2011 12:39 AM, Michael Illgner wrote: 2011/5/3 Mark Hammond: There is nothing magic about events - you need to provide your own magic :) All the calls are still normal blocking calls - so if you want a model where methods on your com object are done in the background and fire when com