Path: utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!texbell!wuarchive!cs.utexas.edu!ut-emx!walt.cc.utexas.edu!hdan From: hdan@walt.cc.utexas.edu (Dan Higdon) Newsgroups: comp.os.os2 Subject: HWND from PID Summary: Getting the Frame HWND from a child process. Message-ID: <21069@ut-emx.UUCP> Date: 17 Nov 89 08:02:37 GMT Sender: news@ut-emx.UUCP Reply-To: hdan@walt.cc.utexas.edu (Dan Higdon) Distribution: comp.os.os2 Organization: The University of Texas at Austin, Austin, Texas Lines: 16 Keywords:HWND PID Ok, all you Microsoft people out there, here's a fun one.... How can I find the Window ID of a Child process? I can (obviously) get the PID from my DosExecPgm call, but how can I then get a handle on the new process's window? I KNOW there must be a call for this, but I can't find it in the INDEX... :-# I know I could enumerate all the top level windows and try to find the one I'm looking for, but that seems a little barbaric. Another, related question: When you ExecPgm a new process ASYC, does it continue to run after the parent dies? (please say yes.) Thanks in advance for your help! hdan@sleepy.cc.utexas.edu (Really Dan Higdon)