Partager via


DTM_ISSELECTION

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.

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

Reference

HTML Control API Messages