Share via


DTM_ENDOFSOURCE

Send Feedback

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 Values

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

Note   This topic is also documented in the Microsoft® Windows® CE SDK. Only the requirements table has changed.

The following example shows how you might use this message.

SendMessage(hwndHTML, DTM_ENDOFSOURCE, 0, 0);

Requirements

Pocket PC: Pocket PC 2002 and later
Smartphone: Smartphone 2002 and later
OS Versions: Windows CE 3.0 and later
Header: htmlctrl.h
Library: htmlctrl.lib

See Also

HTML Control API Messages | DTM_ANCHOR | DTM_ADDTEXT | DTM_ADDTEXTW | DTM_ADDSTYLE | DTM_CLEAR

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.