Article View: borland.public.cppbuilder.nativeapi
Article #14261Re: Urgent FindWindow() with minimized window!!
From: Remy Lebeau (TeamB)
Date: Tue, 19 Aug 2003 17:02
Date: Tue, 19 Aug 2003 17:02
21 lines
1824 bytes
1824 bytes
"Schandler" <theslider@programmer.net> wrote in message
news:3f41defb@newsgroups.borland.com...
> I'm tyring to use the FindWindow("className","title") api in
> a dll that will send Messages I receive using a Windows Hook
> to a window in my application that have the className, and title
> I pass to the FindWindow function.
A better approach would be to store a HWND in the same block of memory that
you are storing the HHOOK handle, and then you don't have to find the window
each time, you already have it. When the application installs the hook,
have it pass its HWND to the DLL as well so it can be stored for later use.
Gambit
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.510 / Virus Database: 307 - Release Date: 8/14/03
Technical Details
Message-ID:
<3f425676$1@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!news.maxwell.syr.edu!news-hog.berkeley.edu!ucberkeley!nntp-relay.ihug.net!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mailReferences:
<3f41defb@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10cc67,2982d6ee34563d56 X-Google-Attributes: gid10cc67,public X-Google-ArrivalTime: 2003-08-19 09:56:29 PST From: "Remy Lebeau \(TeamB\)" <gambit47@yahoo.com> Newsgroups: borland.public.cppbuilder.nativeapi References: <3f41defb@newsgroups.borland.com> Subject: Re: Urgent FindWindow() with minimized window!! Date: Tue, 19 Aug 2003 10:02:08 -0700 Lines: 23 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: 207.175.226.26 Message-ID: <3f425676$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1061312118 207.175.226.26 (19 Aug 2003 09:55:18 -0700) 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!news.maxwell.syr.edu!news-hog.berkeley.edu!ucberkeley!nntp-relay.ihug.net!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail