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 determine if some text was selected in the HTML control.

Syntax

DTM_ISSELECTION
  wParam = 0;
  lParam = 0;

Parameters

None.

Return Value

Returns TRUE if text is selected. Returns FALSE if no text is selected.

Remarks

To determine if text was selected in the HTML control send the DTM_ISSELECTION message.

The following example shows how you might use this message.

Copy Code
bIsTextSelected = (BOOL)SendMessage(hwndHTML, DTM_ISSELECTION, 0,
0);

Requirements

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

See Also