[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

microsoft.public.dotnet.framework.drawing

making the webbrowser control draw onto graphics surface

JudahGabriel

12/28/2004 4:17:00 PM

If I have a single WebBrowser control (either the managed wrapper in 2.0 or
the ActiveX instance), is there anyway I can force it to draw on a Windows
Form multiple times without creating multiple instances of the control?
Basically what I want to do is:

File | Edit | Help
-------------------
<draw some html in here>
-------------------
<draw other html here>
-------------------

and so on. I know I can do this with the RichTextBox via P/Invoke (MSDN
article on that a
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnwinforms/html/wnf_RichT...),
but that same P/Invoke trick doesn't seem to work on the WebBrowser control.