Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.
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.

Copy Code
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