🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: (ATTN: Remy) Find window handle from exe file name

#13303
From: Ed Mulroy [TeamB]
Date: Sun, 19 Oct 2003 22:22
22 lines
1883 bytes
Look in the borland.public.attachments group for either of the messages from
me with the subject Window From File.  They were posted on Oct 3 and have an
attached zip file with code including a demo.  Let me know if you can or
cannot find them.

The demo starts two other applications then finds them under program
control, actually typing things into them to show that it has truely found
their windows.  Afterwards it closes the apps.  One of the two apps is does
this with is notepad.exe.

.  Ed

> Martin C wrote in message
> news:3f930de8@newsgroups.borland.com...
>
> I am trying to get application window handle from its
> exe file name, for example I need to know how I can
> get the window handle of (notepad.exe) while it is
> running, I have posted my question in a previous
> thread (ShowWindow Question) and was advised by
> bob to see if you recommend any solution for this
> question.
Technical Details
Message-ID: <3f930eb2$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <3f930de8@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10cc67,dcd8305ed53c9568
X-Google-Attributes: gid10cc67,public
X-Google-ArrivalTime: 2003-10-19 15:39:08 PST
From: "Ed Mulroy [TeamB]" <dont_email_me@bitbuc.ket>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <3f930de8@newsgroups.borland.com>
Subject: Re: (ATTN: Remy) Find window handle from exe file name
Date: Sun, 19 Oct 2003 18:22:35 -0400
Lines: 24
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
NNTP-Posting-Host: 24.74.175.102
Message-ID: <3f930eb2$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1066602162 24.74.175.102 (19 Oct 2003 15:22:42 -0700)
X-Authenticated-User: edmulroy
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail