Article View: borland.public.cppbuilder.nativeapi
Article #14255Re: Urgent FindWindow() with minimized window!!
From: Martin C
Date: Tue, 19 Aug 2003 23:36
Date: Tue, 19 Aug 2003 23:36
30 lines
2155 bytes
2155 bytes
Schadler, I believe I have the same problem, but my problem comes in
different way...
I have a dll, that use SetWindowsHookEx Api to hook the keyboard entries,
and it send messages to my application once the user press any key on the
keyboard, by using FindWindow API, that start searching for one of my
application windows..to send it the message.
The problem comes when I start hiding my application, FindWindow has no
effect then, so my question will be.
Is there a way were I can send messages to my application from the dll when
the application is running but it is hidden...
thanks
"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.
>
> it is working fine just till I minimize the window, then it doesn't work
at
> all
> is there a way to fix this
>
>
>
Technical Details
Message-ID:
<3f421a1e@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-01!sn-xit-08!supernews.com!priapus.visi.com!news-out.visi.com!petbe.visi.com!news.tele.dk!news.tele.dk!small.news.tele.dk!tiscali!newsfeed1.ip.tiscali.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!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 05:41:14 PST From: "Martin C" <martinc@aol.com> Newsgroups: borland.public.cppbuilder.nativeapi References: <3f41defb@newsgroups.borland.com> Subject: Re: Urgent FindWindow() with minimized window!! Date: Tue, 19 Aug 2003 15:36:22 -0800 Lines: 32 Organization: V Safe 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: 62.135.27.29 Message-ID: <3f421a1e@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1061296670 62.135.27.29 (19 Aug 2003 05:37:50 -0700) Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-01!sn-xit-08!supernews.com!priapus.visi.com!news-out.visi.com!petbe.visi.com!news.tele.dk!news.tele.dk!small.news.tele.dk!tiscali!newsfeed1.ip.tiscali.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail