Article View: borland.public.cppbuilder.nativeapi
Article #17155Re: Another Issue about ShellExecute
From: Remy Lebeau (TeamB)
Date: Mon, 07 Apr 2003 18:39
Date: Mon, 07 Apr 2003 18:39
13 lines
1456 bytes
1456 bytes
That was also explained in the earlier replies. Did you not read then earlier at all? Use CreateProcess() instead, which returns the ProcessID of the new process. Then use EnumWindows() and GetWindowThreadProcessId() to find windows belonging to the new process, and then move them as desired. Gambit "Jo�o Pereira" <joao@pupula.com> wrote in message news:3e91be11$1@newsgroups.borland.com... > And how is it possible?
Technical Details
Message-ID:
<3e91c5c6$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-01!sn-xit-08!supernews.com!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mailReferences:
<3e8c0ea4@newsgroups.borland.com> <3e918b4d@newsgroups.borland.com> <3e91b8e8$1@newsgroups.borland.com> <3e91be11$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII X-Google-Thread: 10cc67,bff1fa0e8e8777f2 X-Google-Attributes: gid10cc67,public X-Google-ArrivalTime: 2003-04-07 11:48:02 PST From: "Remy Lebeau \(TeamB\)" <gambit47@yahoo.com> Newsgroups: borland.public.cppbuilder.nativeapi References: <3e8c0ea4@newsgroups.borland.com> <3e918b4d@newsgroups.borland.com> <3e91b8e8$1@newsgroups.borland.com> <3e91be11$1@newsgroups.borland.com> Subject: Re: Another Issue about ShellExecute Date: Mon, 7 Apr 2003 11:39:17 -0700 Lines: 15 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 NNTP-Posting-Host: 207.175.226.26 Message-ID: <3e91c5c6$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1049740742 207.175.226.26 (7 Apr 2003 11:39:02 -0800) Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-01!sn-xit-08!supernews.com!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail