Control of ActiveX objects opened in IE
-
Hi, I'm building a secure web browser in MFC. My project is based on the CHTMLView wrapper. Currently, my problem is that for exemple when you open a pdf file on the internet, you can directly open it in ie. I mean, ie will launch a pdf viewer component. And in this pdf viewer, you'll be able to do everything you want, for exemple saving the pdf file. So, I'd like to find a way to get control over this component in order, for exemple, to unable the user to save the pdf doc. The problem is that as soon as the component is launched, all windows messages are mapped to this component and not to the CHTMLView object anymore. Furthermore, I didn't find any messages (if only there is one) that is send to CHTMLView to "tell" it that a component such as a pdf viewer will now be opened inside it. Is anyone knowing how to do such a thing ? thanks Ed