Disable image file download in CHTMLView
I know its possible to switch off image download, disable scripts etc from within the internet options although this is then applied to all browser sessions.
What i would like to do is disable image download for a particular instance of CHTMLview, is this possible?
Problem is just want to copy some text from certain webpages within an application, but wasting alot of time for the page to fully download because of dependency files likes images etc.
Any ideas greatly appreciated.
Re: Disable image file download in CHTMLView
You don't need to display the text to get the HTML. You can use CInternet::OpenURL() to read a HTML file directly without havign to display it in a control.
Re: Disable image file download in CHTMLView
Quote:
Originally Posted by
OReubens
You don't need to display the text to get the HTML. You can use CInternet::OpenURL() to read a HTML file directly without havign to display it in a control.
Yes this is true im already doing that in a different context.
But in this context i need to display the webpage. Again, Is there anyway i can instruct the browser control to not download dependency files?