Article View: borland.public.cppbuilder.nativeapi
Article #1255Re: HWND from HPROCESS
From: Ray Carpenter
Date: Tue, 25 Sep 2007 07:27
Date: Tue, 25 Sep 2007 07:27
27 lines
1537 bytes
1537 bytes
Darko Thanks for your suggestion - I will check it out. Regards Ray Carpenter "Darko Miletic" <kiklop@fibertel.com.ar> wrote in message news:46f7aad4$1@newsgroups.borland.com... > Ray Carpenter wrote: > > Colleagues > > > > For a process, is there a way of obtaining the main window handle HWND (as > > needed by SendMessage()) from the process handle HPROCESS (as provided by > > ShellExecuteEx())? > > > > Take a look at EnumProcesses API or here for example: > > http://www.codeproject.com/threads/enumprocess.asp > > or here: > > http://delphi.about.com/od/windowsshellapi/l/aa080304a.htm
Technical Details
Message-ID:
<46f7c832@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<46f6e9ca@newsgroups.borland.com> <46f7aad4$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,da404016b88d04f2 X-Google-Attributes: gid10cc67,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit From: "Ray Carpenter" <rjcarpenter@bigpond.com> Newsgroups: borland.public.cppbuilder.nativeapi References: <46f6e9ca@newsgroups.borland.com> <46f7aad4$1@newsgroups.borland.com> Subject: Re: HWND from HPROCESS Date: Tue, 25 Sep 2007 00:27:34 -0700 Lines: 29 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: 124.176.48.210 Message-ID: <46f7c832@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1190643762 124.176.48.210 (24 Sep 2007 07:22:42 -0700) Path: arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail