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
.