Article View: borland.public.cppbuilder.nativeapi
Article #11470Re: Remy please help...BHO question...again
From: Martin C
Date: Thu, 12 Feb 2004 17:22
Date: Thu, 12 Feb 2004 17:22
34 lines
2141 bytes
2141 bytes
Thank remy for your reply. Actually what I was trying to do is to make a white list for my bho project, which will allow popup windows from certain sites, so that is why I thought of capturing the URL of the newly created windows under the DISPID_NEWWINDOW2 event. Anyway I will try implementing the same idea under the DISPID_BEFORENAVIGATE2 event. Thank you so much for your support. BR "Remy Lebeau (TeamB)" <gambit47.no.spam@no.spam.yahoo.com> wrote in message news:402c1587$1@newsgroups.borland.com... > > "Martin C" <martinc@aol.com> wrote in message > news:402c0c73$1@newsgroups.borland.com... > > > I am trying to catch the URL of newly created popup windows > > under DISPID_NEWWINDOW2 inside my bho project, so can > > you please give me any idea on how to get it. > > Sorry, what you ask for cannot be done. The URL is not available during > that event to begin with. That event is meant for creating the underlying > browser control instance for the new window, nothing else. The URL is then > supplied to the browser/window after the event returns. You will have to > use the DISPID_BEFORENAVIGATE2 event instead. > > > Gambit > >
Technical Details
Message-ID:
<402c193c@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:
<402c0c73$1@newsgroups.borland.com> <402c1587$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10cc67,d7cd5f398672172c X-Google-Attributes: gid10cc67,public X-Google-ArrivalTime: 2004-02-12 16:40:09 PST From: "Martin C" <martinc@aol.com> Newsgroups: borland.public.cppbuilder.nativeapi References: <402c0c73$1@newsgroups.borland.com> <402c1587$1@newsgroups.borland.com> Subject: Re: Remy please help...BHO question...again Date: Thu, 12 Feb 2004 19:22:57 +0200 Lines: 36 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: 81.10.4.238 Message-ID: <402c193c@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1076631868 81.10.4.238 (12 Feb 2004 16:24:28 -0800) 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