Currently I am using a browser control (CBrCtlInterface ) in my application.

And I want to get the source(html source) of the current page being diplayed in my browser control. My usecase is to parse the http content for my application specific form field (which will not be displayed to the user) sent from the web server.

I have tried PageInfoLC(TBrCtlDefs::EPageInfoContent ) and PageInfoLC(TBrCtlDefs::EPageInfoSavedPage) functions in BrowserInterfaceControl. The former function does not give the entire HTML source for the current page but gives some links and urls present in the page. The later function gives a buffer which does not look like the html source.

Any help is appreciated.