🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: BHO question

#13056
From: Martin C
Date: Fri, 31 Oct 2003 20:35
33 lines
3337 bytes
Hi Remy

First of all I need to thank you for your assistance with me, all the way in
this project.
Now I almost finished the my first bho project, that block any popup
screens, and I need to add a feature that I really need you experience in it
to decide which is the best Technical and Efficient way to have this feature
added.
What this feature basically do is (Enable - Disable) my bho popup killer
while my bho is already registered and IE is running, so if the user
selected to disable popup killer then my BHO dll, will ignore all popup
windows and let them show, and if the user selected to Enable popup killer
so my bho dll will kill any popup screen before it shows up....
So I though of the following 2 options and I don't know which of them is
best, or may be both of them is not good

1- Save the user selection in the Registry, and my BHO dll, will check on
this value in the registry before it kill any popup window so if this value
= Enabled then the bho will start killing poup windows, else it will just
ignore it
2- Save the user selection in INI file

My questions on the above to options is:
A- Will it be a problem to access a registry key to read its value for
several time, in other words some times there are sites that have a lot of
popup windows and the bho dll will have to read the registry value before
killing each one of these popup windows

B- is there any other better way...

I really appreciate your help and support

Best Regards
Technical Details
Message-ID: <3fa2c796@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> <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> <3f96c2d7@newsgroups.borland.com> <3f99d769@newsgroups.borland.com> <3f99e7a4$1@newsgroups.borland.com> <3f9b0463@newsgroups.borland.com> <3f9c322a$1@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-31 12:39:43 PST
From: "Martin C" <martinc@aol.com>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <3f84957c@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> <3f96c2d7@newsgroups.borland.com> <3f99d769@newsgroups.borland.com> <3f99e7a4$1@newsgroups.borland.com> <3f9b0463@newsgroups.borland.com> <3f9c322a$1@newsgroups.borland.com>
Subject: Re: BHO question
Date: Fri, 31 Oct 2003 12:35:35 -0800
Lines: 35
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: <3fa2c796@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1067632534 81.10.4.238 (31 Oct 2003 12:35:34 -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