🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: TCppWebBrowser - Reuse showModalDialog

#351
From: Hans Galema
Date: Fri, 08 Dec 2006 20:56
22 lines
1571 bytes
Bob wrote:
> showModalDialog is a javascript function:

...

> This function pop up a simple modal dialog with IE's icon.

Does it display dialog.htm?

> I wan't to
> show my own window.

You want to show dialog.htm in your existing TCppWebBrowser instance?

> The problem is, I can't get the OnNewWindow2 or
> OnNewWindow3 event.

You mean that the OnNewWindow2 event does not trigger?

And if you use window.open() ?

Hans.
Technical Details
Message-ID: <4579d1ce@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <1165157229.565641.256940@j72g2000cwa.googlegroups.com> <45731057$1@newsgroups.borland.com> <1165294016.167148.54310@j44g2000cwa.googlegroups.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: feeec,6bc3c9631fe24a0d
X-Google-Attributes: gidfeeec,public
X-Google-Language: ENGLISH,ASCII-7-bit
Date: Fri, 08 Dec 2006 21:56:39 +0100
From: Hans Galema <notused@notused.nl>
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: Re: TCppWebBrowser - Reuse showModalDialog
References: <1165157229.565641.256940@j72g2000cwa.googlegroups.com> <45731057$1@newsgroups.borland.com> <1165294016.167148.54310@j44g2000cwa.googlegroups.com>
In-Reply-To: <1165294016.167148.54310@j44g2000cwa.googlegroups.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 145.98.201.248
Message-ID: <4579d1ce@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1165611470 145.98.201.248 (8 Dec 2006 12:57:50 -0700)
Lines: 22
Path: arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail