views:

130

answers:

0

I'm writing an app which uses the WebBrowser control; the app is for Windows Mobile. The documentation says that the interfaces IBrowser etc are being deprecated, and I should use IWebBrowser2 and DWebBrowserEvents2 instead. In my code, I've changed things like

CWnd p; p.Create(WC_HTML, ...

to CWnd p; p.CreateControl(L"Microsot.PIEDocView", ...

Instead of sending messages with SendMessage, I'm now getting the IWebBrowser2 interface and calling methods on it, ie

instead of myWnd.SendMessage(DTM_NAVIGATE, ...

I'm calling pWB->Navigate2(...

My question involves notifications, specifically META tags. Using WC_HTML, I could receive notifications such as NM_META when the browser hits a META tag. Using PIEDocView, I don't see a similar way to do it. I don't see in IWebBrowser2 nor in DWebBrowserEvents2 any type of event which gets called when the browser hits a META tag.

Suggestions?

Regards, Brian