hello,
I launch an (Delphi) application with
subprocess.Popen ( Application, shell=False )
Then with a timer (100 msec), I'm trying to find the applications main
window,
by looking for the formclass
self.App_hwnd = win32gui.FindWindow ( self.Application_Form_Class,
self.Application_Caption )
so in the beginning, I'm getting hwnd =0,
then after a while I get a nonzero hwnd,
sometimes it's the correct one,
sometimes not.
In the latter case, looking for the hwnd for a second time, does return
the correct hwnd.
Any explanation / solution ?
thanks,
Stef Mientki
_______________________________________________
python-win32 mailing list
python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32