Link to home
Start Free TrialLog in
Avatar of anothercto
anotherctoFlag for United States of America

asked on

killing popup adds

How do the popup adds work? How to kill them before they come up? The program shouldn't take too much time to write, right?
ASKER CERTIFIED SOLUTION
Avatar of Roshan Davis
Roshan Davis
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of anothercto

ASKER

Good link. Below is some comments from the link. I cannot find 'VARIANT_TRUE', and I don't see a 'VARIANT_TRUE' that comes with 'OnNewWindow2'?

"I think there's a more efficient way to kill popup windows: hook into the OnNewWindow2 event and set Cancel to VARIANT_TRUE."
Please make a little more clear.

Roshmon
That was the entire statement made as a comment on the pop-killer program.

How do I go about doing what's said in the statement? I cannot find 'VARIANT_TRUE' on Visual Studio help file..
#include <WTypes.h>
Dear anothercto

I think you forgot this question. I will ask Community Support to close it unless you finalize it within 7 days. You can always request to keep this question open. But remember, experts can only help you if you provide feedback to their questions.
Unless there is objection or further activity,  I will suggest to accept

     "roshmon"

comment(s) as an answer.

PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!
======
Werner
Avatar of Mindphaser
Mindphaser

Force accepted

** Mindphaser - Community Support Moderator **