Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsGeneralPHPASPPerlColdFusionFlashHTML, CSS, ScriptsBrowsers

Webmaster Forum / Browsers / Internet Explorer / June 2004



Tip: Looking for answers? Try searching our database.

Control hosted inside HTML Frame unable to get the parent

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Steve Phils - 29 Jun 2004 08:10 GMT
Techies,

I'm developing a HTML control using ATL ie intended to host in a html
page. I,m new to ATL programming dont have much idea about the HTML
controls.
This is my situation,  my control is hosted in html1.htm in OBJECT
tag.This html file and another html(html2.htm), both these kept as
FRAME in another html(html3.htm). I'm trying to get the parent
webbrowser(ie html3.htm) from my control. I need to hide the address
bar of the parent .How can I get the parent container from my control
which resides in html that too resides in another html as FRAME ?

How can I able to get the parent IWebBrowser2 when my control resides
in a FRAME?

TIA!!!
Igor Tandetnik - 29 Jun 2004 14:32 GMT
> This is my situation,  my control is hosted in html1.htm in OBJECT
> tag.This html file and another html(html2.htm), both these kept as
> FRAME in another html(html3.htm). I'm trying to get the parent
> webbrowser(ie html3.htm) from my control. I need to hide the address
> bar of the parent .How can I get the parent container from my control
> which resides in html that too resides in another html as FRAME ?

See KB Article KB257717 "HOWTO: Retrieve the Top-Level IWebBrowser2
Interface from an ActiveX Control"
Signature

With best wishes,
   Igor Tandetnik

"For every complex problem, there is a solution that is simple, neat,
and wrong." H.L. Mencken

Steve Phils - 30 Jun 2004 09:37 GMT
Hi Igor,
You guide me to the exact link I'm searching for.Thank You Very much
for your helping hand.Seems to be you have great knowledge in HTML
controls & its highly appreciable that your keenness to help
others..Keep it up!!

Quick question ,how I can find which all interface these controls
supports ie MSHTML(MSHTML.dll) and WebBrowser
control(SHDOCVW.dll)..Does I can get any help or materials providing
me a list that having IIDs and its iterfaces.

Thanks Again!!


> See KB Article KB257717 "HOWTO: Retrieve the Top-Level IWebBrowser2
> Interface from an ActiveX Control"
Igor Tandetnik - 30 Jun 2004 14:25 GMT
> Quick question ,how I can find which all interface these controls
> supports ie MSHTML(MSHTML.dll) and WebBrowser
> control(SHDOCVW.dll)..Does I can get any help or materials providing
> me a list that having IIDs and its iterfaces.

You read MSDN documentation, of course. There are hundreds of interfaces
related to WebBrowser and MSHTML. A better question possibly is - what
are you trying to do?
Signature

With best wishes,
   Igor Tandetnik

"For every complex problem, there is a solution that is simple, neat,
and wrong." H.L. Mencken

 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.