DTM_DOCUMENTDISPATCH

Windows Mobile 6.5
4/8/2010

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


DTM_DOCUMENTDISPATCH 
  wParam = 0;
  lParam = (LPARAM)(IDispatch*) ppDisp;

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_IPIEHTMLDocument, (void**)&pHTMLDocument) to retrieve the HTML viewer control's IPIEHTMLDocument interface.

The following example shows how you might use this message.

SendMessage(hwndHTML, DTM_DOCUMENTDISPATCH, 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: