DTM_BROWSERDISPATCH
Windows Mobile SupportedWindows Embedded CE Not Supported
8/28/2008

The DTM_BROWSERDISPATCH message is sent by an application to the HTML viewer control to request a reference to its IDispatch interface.

Syntax


DTM_BROWSERDISPATCH
  wParam = 0;
  lParam = (LPARAM)(IDISPATCH) pDisp;
Parameters

wParam

Not used.

pDisp

[out] Reference to the HTML viewer control's IDispatch interface.

Return Value

Returns the HTML viewer control's IDispatch pointer. Use it to call QueryInterface(IID_IBrowser, &pBrowser) to retrieve the HTML viewer control's IBrowser interface.

Remarks

IBrowser, IBrowser2 and IBrowser3 are deprecated and will not be supported in future versions. Instead use IWebBrowser2 and DWebBrowserEvents2.

The following example shows how you might use this message.

SendMessage(hwndHTML, DTM_BROWSERDISPATCH, 0, (LPARAM) &pDisp);
Requirements

Headerhtmlctrl.h
Libraryhtmlctrl.lib
Windows MobilePocket PC for Windows Mobile 2003 and later, Smartphone for Windows Mobile 2003 and later
See Also

Reference

HTML Control API Messages

Tags :


Page view tracker