Article View: borland.public.cppbuilder.nativeapi
Article #17172Re: Another Issue about ShellExecute
From: Jo�o Pereira
Date: Tue, 08 Apr 2003 15:43
Date: Tue, 08 Apr 2003 15:43
26 lines
1878 bytes
1878 bytes
Sorry about that, but could you make a example explaining how do you can move and positionate a window, with CreateProcess(),EnumWindows() and GetWindowThreadProcessId(). And thx again you have been very helpful "Remy Lebeau (TeamB)" <gambit47@yahoo.com> wrote in message news:3e91c5c6$1@newsgroups.borland.com... > 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:
<3e92ee2f@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-06!sn-xit-09!supernews.com!iad-peer.news.verio.net!news.verio.net!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> <3e91c5c6$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-08 08:46:44 PST From: "Jo�o Pereira" <joao@pupula.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> <3e91c5c6$1@newsgroups.borland.com> Subject: Re: Another Issue about ShellExecute Date: Tue, 8 Apr 2003 16:43:37 +0100 Lines: 28 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: 213.146.200.120 Message-ID: <3e92ee2f@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1049816623 213.146.200.120 (8 Apr 2003 08:43:43 -0800) Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-06!sn-xit-09!supernews.com!iad-peer.news.verio.net!news.verio.net!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail