DTM_CLEAR

4/8/2010

This message is sent by an application to clear the contents of the HTML control.

Syntax

DTM_CLEAR
  wParam = 0;
  lParam = 0;

Parameters

None.

Return Value

None.

Remarks

The contents of the HTML control are cleared with the message DTM_CLEAR.

The following example shows how you might use this message.

SendMessage(hwndHTML, DTM_CLEAR, 0, 0);

Requirements

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

See Also

Reference

HTML Control API Messages
DTM_ADDTEXT
DTM_ADDTEXTW
DTM_ADDSTYLE
DTM_ENDOFSOURCE