Share via


DTM_ENDOFSOURCE

4/8/2010

This message is sent by an application to inform the HTML control that the document is complete.

Syntax

DTM_ENDOFSOURCE
  wParam = 0;
  lParam = 0;

Parameters

None.

Return Value

None.

Remarks

After a DTM_ENDOFSOURCE message is sent, you cannot add more text to an existing page. No more text will be added until the document is cleared. This allows the HTML control to clean up error conditions resulting from incomplete data or corrupt or invalid HTML text.

Note

Infer DTM_CLEAR (::Clear) when DTM_ADDTEXT (::AddText or ::AddTextW) after DTM_ENDOFSOURCE (::EndOfSource).

The following example shows how you might use this message.

SendMessage(hwndHTML, DTM_ENDOFSOURCE, 0, 0);

Requirements

Header htmlctrl.h
Library htmlctrl.lib
Windows Mobile Pocket PC 2002 and later, Smartphone 2002 and later

See Also

Reference

HTML Control API Messages
DTM_ANCHOR
DTM_ADDTEXT
DTM_ADDTEXTW
DTM_ADDSTYLE
DTM_CLEAR