Article View: borland.public.cppbuilder.nativeapi
Article #8587Re: IE is WindowActive or not?
From: Safari
Date: Thu, 07 Oct 2004 00:16
Date: Thu, 07 Oct 2004 00:16
30 lines
1554 bytes
1554 bytes
Thanks Nicolasr
Not diference!
Safari
"nicolasr" <nicolasrNOSPAMATSIGNgmx.net> wrote in message
news:415877c0$1@newsgroups.borland.com...
| I think there's a typo in your code. You forgot the brackets for
| GetActiveWindow.
| Try this:
|
| {
| char wClass[255];
| GetClassName(GetActiveWindow(), wClass, sizeof(wClass));
| if (wClass == "IEFrame")
| {
| // Continue...
| }
| }
|
| Nick
|
| > Thanks Nicolasr,
| >
| > {
| > char wClass[255];
| > GetClassName(GetActiveWindow, wClass, sizeof(wClass));
| > if (wClass == "IEFrame")
| > // Continue...
| > }
Technical Details
Message-ID:
<41648b12@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!proxad.net!gatel-ffm!gatel-ffm!194.25.134.126.MISMATCH!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<4150d030@newsgroups.borland.com> <4150d293@newsgroups.borland.com> <41574660@newsgroups.borland.com> <415877c0$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,e705c536883f0885 X-Google-Attributes: gid10cc67,public X-Google-Language: ENGLISH,ASCII-7-bit From: "Safari" <Safari@alloymail.com> Newsgroups: borland.public.cppbuilder.nativeapi References: <4150d030@newsgroups.borland.com> <4150d293@newsgroups.borland.com> <41574660@newsgroups.borland.com> <415877c0$1@newsgroups.borland.com> Subject: Re: IE is WindowActive or not? Date: Thu, 7 Oct 2004 03:46:54 +0330 Lines: 32 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: 80.191.1.7 Message-ID: <41648b12@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1097108242 80.191.1.7 (6 Oct 2004 17:17:22 -0700) Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!proxad.net!gatel-ffm!gatel-ffm!194.25.134.126.MISMATCH!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail