Howto change Html on CDHtmlDialog at runtime
-
Hey, is it possible to change the HTML code in a CHTMLDialog at runtime. I need this because I want to create a dialog that changes his GUI by loaded different HTLM pages... Thanx a lot...
What change? i dont have my code that i worked on CDHtmlDialog now and i dont understand what do you need but see GetDHtmlDocument for get IHTMLDocument2 interface maybe it is some helpful to you_**
**_
whitesky
-
Hey, is it possible to change the HTML code in a CHTMLDialog at runtime. I need this because I want to create a dialog that changes his GUI by loaded different HTLM pages... Thanx a lot...
-
In order to load different HTML page from disk, I think you can try the
Navigate
member, something like this:Navigate("file://c:\\MyFile.html");
If your HTML page is in resources, you can try
LoadFromResource
function.but i think he wants to change html code not load html_**
**_
whitesky
-
Hey, is it possible to change the HTML code in a CHTMLDialog at runtime. I need this because I want to create a dialog that changes his GUI by loaded different HTLM pages... Thanx a lot...
It might help you: GetHtmlDocument[^] Marc. ... she said you are the perfect stranger she said baby let's keep it like this... Dire Straits