Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
MSDN Library
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

DTM_BROWSERDISPATCH

Windows Mobile 6.5
4/8/2010

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


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

wParam

Not used.

pDisp

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

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.

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);

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

Community Additions

Show:
© 2015 Microsoft