Re: how to gt IHtmlDialog from IHtmlDocument ?
- From: Noa <nlevin@xxxxxxxxxx>
- Date: Sat, 12 Apr 2008 23:41:38 -0700 (PDT)
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
- References:
- Prev by Date: setting resizable and status through IHtmlDialog2 interface - why can't I see its influence?
- Next by Date: Re: How can I know when the URL I specified to Navigate method get loaded?
- Previous by thread: how to gt IHtmlDialog from IHtmlDocument ?
- Next by thread: How about using webbrowser control as a spider engine? I want advises.
- Index(es):