Ureader.com  
Microsoft software help and Community
   home   |   control panel login   |   archive   |  
 
inet
active_desktop
active_scrptng
asp.components
asp.db
asp.general
comctl32
comp.packaging
components.dev
dbweb
dhtml_editing
docobjects
html_authoring
html_objmodel
iis
iis.ftp
iis.security
iis.smtp_nntp
indexserver
misc
mshtml_hosting
scripting.jscript
scripting.vbscript
sdk_setup
shell_objmodel
urlmonikers
webbrowser_ctl
wininet
  
 
date: Thu, 10 Apr 2008 00:44:36 -0700 (PDT),    group: microsoft.public.inetsdk.programming.webbrowser_ctl        back       


how to gt IHtmlDialog from IHtmlDocument ?   
Hi

The user pushed a button that opens a dialog (either modal or
modeless, it doesn't matter)
I recorgnize its HWND and I have an access to its IHtmlDocument  -> I
successfully mabipulate the DOM in the dialog.

BUT , I need the IHtmlDialog interface, and I don't know how to get it
from the IHTmldocument.

"parentWindow"  returns IHTMLWindow2  and "queryInterface" to
IHtmlDialog fails...


Igor?

Anyone?

I searched the net but didn't find advise...

TIA

Noa
date: Thu, 10 Apr 2008 00:44:36 -0700 (PDT)   author:   Noa

Re: how to gt IHtmlDialog from IHtmlDocument ?   
So I got it, and this is how :

from the IHtmlDocument I get the parent window.
from the parent window I get the "external" and this is the
dialog ....

But now I have a new question .. and I'll post it as a new subject :-)



Noa wrote:
> Hi
>
> The user pushed a button that opens a dialog (either modal or
> modeless, it doesn't matter)
> I recorgnize its HWND and I have an access to its IHtmlDocument  -> I
> successfully mabipulate the DOM in the dialog.
>
> BUT , I need the IHtmlDialog interface, and I don't know how to get it
> from the IHTmldocument.
>
> "parentWindow"  returns IHTMLWindow2  and "queryInterface" to
> IHtmlDialog fails...
>
>
> Igor?
>
> Anyone?
>
> I searched the net but didn't find advise...
>
> TIA
>
> Noa
date: Sat, 12 Apr 2008 23:41:38 -0700 (PDT)   author:   Noa

Google
 
Web ureader.com


    COPYRIGHT 2007, YARDI TECHNOLOGY LIMITED, ALL RIGHT RESERVE  |   contact us