🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #13256

Re: BHO question

#13256
From: Remy Lebeau (TeamB)
Date: Wed, 22 Oct 2003 17:50
39 lines
3580 bytes
"Martin C" <martinc@aol.com> wrote in message
news:3f967065@newsgroups.borland.com...

> Yes remy I used it and when I realized what you were doing I
> removed your DISPID_NEWWINDOW2 code, although the
> problem of (Open in new window) command still exist.

Ok then, now we're getting somewhere.  Please post your actual code as it
currently stands.

> That is not correct...even if you are blocking 100% of pop-up
> screens (and what I mean here by pop-up screens is screens that
> pop-up without the user permission)

The WebBrowser does not differentiate between windows that are popped up via
user input, or windows that are popped up via scripting.  A new window is a
new window regardless.

> there is a code (unfortunatly it is in VC) that can be written to see
> if the newly created windows was created based on user selection
> (in other words the user clicked on a link, picture...etc.) then the
> new window will be created without blocking it, please review
> (http://www.codeproject.com/atl/PopupBlocker2.asp)

You said that you were blocking 100% of the windows.  You never said
anything about performing per-window validation to allow/disallow new
windows.  100% means 100%, not 90% or 99.9999%.  100% means *every* window.
In that regard, I commented that blocking 100% of the windows will do
exactly what you claim to be having a problem with - no windows will appear
at all.  That is expected behavior.  If, on the other hand, you are not
actually blocking every single window, then you need to say so.  And more
importantly, if you are *trying* not to block all windows so that some can
go through normally, but no windows are actually being displayed anyway,
then there is a problem with your code, and again, I would have to aks that
you please post your actual code.


Gambit
Technical Details
Message-ID: <3f96c2d7@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-mail
References: <3f84957c@newsgroups.borland.com> <3f84a0b8@newsgroups.borland.com> <3f88b9db@newsgroups.borland.com> <3f88be72$1@newsgroups.borland.com> <3f897b9a@newsgroups.borland.com> <3f89c56f$1@newsgroups.borland.com> <3f8af683@newsgroups.borland.com> <3f8af95a$3@newsgroups.borland.com> <3f8affad@newsgroups.borland.com> <3f8b009f$3@newsgroups.borland.com> <3f8ed9f0$1@newsgroups.borland.com> <3f8edeb3$1@newsgroups.borland.com> <3f93f0e3@newsgroups.borland.com> <3f941ba4$1@newsgroups.borland.com> <3f9472ab@newsgroups.borland.com> <3f94782e$1@newsgroups.borland.com> <3f9487b0@newsgroups.borland.com> <3f94933e$1@newsgroups.borland.com> <3f949421$1@newsgroups.borland.com> <3f9496e6$1@newsgroups.borland.com> <3f9565e3@newsgroups.borland.com> <3f9570dd@newsgroups.borland.com> <3f95da49@newsgroups.borland.com> <3f95e02e$1@newsgroups.borland.com> <3f967065@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10cc67,15b7dd6889830f4f
X-Google-Attributes: gid10cc67,public
X-Google-ArrivalTime: 2003-10-22 11:10:54 PST
From: "Remy Lebeau \(TeamB\)" <gambit47.no.spam@no.spam.yahoo.com>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <3f84957c@newsgroups.borland.com> <3f84a0b8@newsgroups.borland.com> <3f88b9db@newsgroups.borland.com> <3f88be72$1@newsgroups.borland.com> <3f897b9a@newsgroups.borland.com> <3f89c56f$1@newsgroups.borland.com> <3f8af683@newsgroups.borland.com> <3f8af95a$3@newsgroups.borland.com> <3f8affad@newsgroups.borland.com> <3f8b009f$3@newsgroups.borland.com> <3f8ed9f0$1@newsgroups.borland.com> <3f8edeb3$1@newsgroups.borland.com> <3f93f0e3@newsgroups.borland.com> <3f941ba4$1@newsgroups.borland.com> <3f9472ab@newsgroups.borland.com> <3f94782e$1@newsgroups.borland.com> <3f9487b0@newsgroups.borland.com> <3f94933e$1@newsgroups.borland.com> <3f949421$1@newsgroups.borland.com> <3f9496e6$1@newsgroups.borland.com> <3f9565e3@newsgroups.borland.com> <3f9570dd@newsgroups.borland.com> <3f95da49@newsgroups.borland.com> <3f95e02e$1@newsgroups.borland.com> <3f967065@newsgroups.borland.com>
Subject: Re: BHO question
Date: Wed, 22 Oct 2003 10:50:37 -0700
Lines: 41
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: 67.22.137.75
Message-ID: <3f96c2d7@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1066844887 67.22.137.75 (22 Oct 2003 10:48:07 -0700)
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