Article View: borland.public.cppbuilder.nativeapi
Article #16777Re: F5 Refresh Explorer
From: StarCinema - Rodolfo Frino
Date: Tue, 29 Apr 2003 08:23
Date: Tue, 29 Apr 2003 08:23
36 lines
1858 bytes
1858 bytes
You use the FindWindow() API to get the handle of
an application.
HWND Handle = FindWindow(WindowClass, NULL);
In this case the application is Internet Explorer,
whose WindowClass is "IEFrame", therefore
you get the handle of Explorer with this line:
HWND Handle = FindWindow("IEFrame", NULL);
Rodolfo
"RaynorPao" <RaynorPao.nospam@nospam.pchome.com.tw> wrote in message
news:3eae2f1e@newsgroups.borland.com...
> Hi Rodolfo:
>
> Thanks for your reply.
> But, I don't know how to get the HWND of Explorer.
> Is there an API can do this?
>
> Thanks.
> RaynorPao.
>
> "StarCinema - Rodolfo Frino" <starcinema@stargate.com> ���g��l��
> news:3eae1f36@newsgroups.borland.com...
> > For internet Explorer the Class will be "IEFrame"
> >
> > HWND Handle = FindWindow("IEFrame", NULL);
> >
> > Rodolfo
> >
> >
>
>
Technical Details
Message-ID:
<3eae3762@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-03!sn-xit-04!sn-xit-06!sn-xit-09!supernews.com!news.maxwell.syr.edu!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mailReferences:
<3eadfe5c@newsgroups.borland.com> <3eae1f36@newsgroups.borland.com> <3eae2f1e@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII X-Google-Thread: 10cc67,2a8b24ef7e4ae381 X-Google-Attributes: gid10cc67,public X-Google-ArrivalTime: 2003-04-29 01:34:16 PST From: "StarCinema - Rodolfo Frino" <starcinema@stargate.com> Newsgroups: borland.public.cppbuilder.nativeapi References: <3eadfe5c@newsgroups.borland.com> <3eae1f36@newsgroups.borland.com> <3eae2f1e@newsgroups.borland.com> Subject: Re: F5 Refresh Explorer Date: Tue, 29 Apr 2003 18:23:19 +1000 Lines: 38 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: 203.164.37.114 Message-ID: <3eae3762@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1051604834 203.164.37.114 (29 Apr 2003 01:27:14 -0700) Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-03!sn-xit-04!sn-xit-06!sn-xit-09!supernews.com!news.maxwell.syr.edu!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail