Reading the display fron other programs
-
Using Visual C++ MFC in SDI application I would like to read what other programs have displayed on my monitor screen. For example, if I have a webpage displayed by a browser, is there some way I can read from my C++ program what is shown on that browser's window? Thanks ahead of time
-
Using Visual C++ MFC in SDI application I would like to read what other programs have displayed on my monitor screen. For example, if I have a webpage displayed by a browser, is there some way I can read from my C++ program what is shown on that browser's window? Thanks ahead of time
You can use interfaces in MSHTML.h Find the window handle of your browser. and then by using below interfaces you can get whole HTML of the web page which is open. IHTMLDocument2 IHTMLWindow2 IHTMLElementCollection IID_IHTMLDocument2 IHTMLElement etc..
-
You can use interfaces in MSHTML.h Find the window handle of your browser. and then by using below interfaces you can get whole HTML of the web page which is open. IHTMLDocument2 IHTMLWindow2 IHTMLElementCollection IID_IHTMLDocument2 IHTMLElement etc..
on my pc there is no file called MSHTML.h Where does not get this? I'm using Visual C++ 6.0. What do I need to upgrade to? Thanks
Rahul Vaishnav wrote:
You can use interfaces in MSHTML.h Find the window handle of your browser. and then by using below interfaces you can get whole HTML of the web page which is open. IHTMLDocument2 IHTMLWindow2 IHTMLElementCollection IID_IHTMLDocument2 IHTMLElement etc..