Duration (Pacific Standard Time):
To (Pacific Standard Time):
Impact:
User Action:
Windows Mobile Version 5.0 SDK

DTM_BROWSERDISPATCH

Send Feedback

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 Values

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

Pocket PC: Windows Mobile 2003 and later
Smartphone: Windows Mobile 2003 and later
OS Versions: Windows CE .NET 4.2 and later
Header: htmlctrl.h
Library: htmlctrl.lib

See Also

HTML Control API Messages


Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.