TfActiveSelEnd enumeration (msctf.h)

Elements of the TfActiveSelEnd enumeration specify which end of a selected range of text is active.

Syntax

typedef enum __MIDL_ITfContext_0001 {
  TF_AE_NONE = 0,
  TF_AE_START = 1,
  TF_AE_END = 2
} TfActiveSelEnd;

Constants

 
TF_AE_NONE
Value: 0
The selected range has no active end. This is typical for selected ranges other than the default selected range.
TF_AE_START
Value: 1
The active end is at the start of the selected range.
TF_AE_END
Value: 2
The active end is at the end of the selected range.

Remarks

The active end of a selected range is the end likely to respond to user actions. For example, in many applications, holding the SHIFT key down while using the arrow keys will change the selected range. The end of the selected range that moves is the active end of the selected range.

This enumeration is used in the TF_SELECTIONSTYLE structure.

Requirements

Requirement Value
Minimum supported client Windows 2000 Professional [desktop apps | UWP apps]
Minimum supported server Windows 2000 Server [desktop apps | UWP apps]
Header msctf.h
Redistributable TSF 1.0 on Windows 2000 Professional

See also

TF_SELECTIONSTYLE