🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #1250

HWND from HPROCESS

#1250
From: Ray Carpenter
Date: Mon, 24 Sep 2007 15:38
9 lines
987 bytes
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())?

Regards

Ray Carpenter
Technical Details
Message-ID: <46f6e9ca@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!news.germany.com!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,da404016b88d04f2,start
X-Google-Attributes: gid10cc67,public,usenet
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Ray Carpenter" <rjcarpenter@bigpond.com>
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: HWND from HPROCESS
Date: Mon, 24 Sep 2007 08:38:39 -0700
Lines: 11
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: <46f6e9ca@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1190586826 124.176.48.210 (23 Sep 2007 15:33:46 -0700)
Path: arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!news.germany.com!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail