Help!! CHTMLView inside CDialog
-
Hi. Recently due to my newbie design, I got stuck with all my windows as dialogs. Now I want to create a modal help dialog that has CHTMLView in it. I successfully did this with WebBrowser ActiveX object, but it requires external file (which I dont like), since it doesnt have LoadFromResource interface. Now most of the examples shown have Doc/View architecture which makes it simple to replace CChildView with CHTMLView. But almost none is inside a CDialog. The hints like creating CFrameWnd inside a CDialog sounds good but I couldn't make it work. Can anyone help / post an article on this? Any solutions will do. Thanks!!! Desperate... :(
-
Hi. Recently due to my newbie design, I got stuck with all my windows as dialogs. Now I want to create a modal help dialog that has CHTMLView in it. I successfully did this with WebBrowser ActiveX object, but it requires external file (which I dont like), since it doesnt have LoadFromResource interface. Now most of the examples shown have Doc/View architecture which makes it simple to replace CChildView with CHTMLView. But almost none is inside a CDialog. The hints like creating CFrameWnd inside a CDialog sounds good but I couldn't make it work. Can anyone help / post an article on this? Any solutions will do. Thanks!!! Desperate... :(
-
Take a look at this article, I've been using it in an application that is running 24 hours x day and it is going well... http://www.codeproject.com/useritems/HTMLCtrlSample.asp[^] hope this helps...
Thanks much! I was able to get the original Paul DiLascia HTMLCtrl and works awesome. http://www.microsoft.com/msj/0100/c/c0100.aspx