Article View: borland.public.cppbuilder.nativeapi
Article #13137Re: Windows message question
From: Remy Lebeau (TeamB)
Date: Tue, 28 Oct 2003 17:30
Date: Tue, 28 Oct 2003 17:30
13 lines
1346 bytes
1346 bytes
"Martin C" <martinc@aol.com> wrote in message
news:3f9e672d@newsgroups.borland.com...
> I used to use (FindWindow("", 0);) function to return the handle
> of the exe window where I need to send the message
A better approach would be to simply have the EXE pass its HWND to the DLL
when it is loaded, then the DLL knows exactly where to send messages, it
doesn't have to go finding the HWND manually first.
Gambit
Technical Details
Message-ID:
<3f9ea71e$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-mailReferences:
<3f9e672d@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10cc67,8012e723bc3abeb X-Google-Attributes: gid10cc67,public X-Google-ArrivalTime: 2003-10-28 09:39:51 PST From: "Remy Lebeau \(TeamB\)" <gambit47.no.spam@no.spam.yahoo.com> Newsgroups: borland.public.cppbuilder.nativeapi References: <3f9e672d@newsgroups.borland.com> Subject: Re: Windows message question Date: Tue, 28 Oct 2003 09:30:42 -0800 Lines: 15 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.1165 NNTP-Posting-Host: 67.22.137.75 Message-ID: <3f9ea71e$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1067362078 67.22.137.75 (28 Oct 2003 09:27:58 -0700) 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