Compartir a través de


SELECTION_TYPE enumeration

Specifies the current selection type in the ISelectionServices::SetSelectionType and ISegmentList::GetType methods.

Syntax

typedef enum _SELECTION_TYPE { 
  SELECTION_TYPE_None     = 0,
  SELECTION_TYPE_Caret    = 1,
  SELECTION_TYPE_Text     = 2,
  SELECTION_TYPE_Control  = 3
} SELECTION_TYPE;

Constants

  • SELECTION_TYPE_None
    There is no current selection and no insertion point visible.

  • SELECTION_TYPE_Caret
    There is no current selection, but the insertion point is visible and has focus.

  • SELECTION_TYPE_Text
    The selection is a text range.

  • SELECTION_TYPE_Control
    The selection consists of a whole element or elements that are site selectable.

Requirements

Minimum supported client

Windows XP

Minimum supported server

Windows 2000 Server

Header

Mshtml.h

IDL

Mshtml.idl