🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.internet.web
Article #1032

Opening new windows

#1032
From: Brian Rasmusson
Date: Fri, 04 Nov 2005 10:45
13 lines
1347 bytes
Hello,

Is there any way to detect when windows open because a user has clicked 
a link or used "Open in New Window" from the right-click menu?

I'm adding basic popup-blocking functionality to my app by disallowing 
windows to open in the OnNewWindow2 event handler, but ofcourse it 
should work if the user decides to do so himself.

Any ideas?

Regards,
Brian
Technical Details
Message-ID: <436b3bcd$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!newsread.com!newsprint.newsread.com!news-out1.kabelfoon.nl!newsfeed.kabelfoon.nl!bandi.nntp.kabelfoon.nl!217.73.144.45.MISMATCH!feeder2.ecngs.de!ecngs!feeder.ecngs.de!news.germany.com!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: feeec,7d67c03fcf3844f4,start
X-Google-Attributes: gidfeeec,public
X-Google-Language: ENGLISH,ASCII-7-bit
Date: Fri, 04 Nov 2005 11:45:50 +0100
From: Brian Rasmusson <br@XbitXberXry.com>
User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206)
X-Accept-Language: en-us, en
MIME-Version: 1.0
Newsgroups: borland.public.cppbuilder.internet.web
Subject: Opening new windows
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 212.130.59.4
Message-ID: <436b3bcd$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1131101133 212.130.59.4 (4 Nov 2005 02:45:33 -0700)
Lines: 13
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!newsread.com!newsprint.newsread.com!news-out1.kabelfoon.nl!newsfeed.kabelfoon.nl!bandi.nntp.kabelfoon.nl!217.73.144.45.MISMATCH!feeder2.ecngs.de!ecngs!feeder.ecngs.de!news.germany.com!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail