TS_SELECTIONSTYLE structure (textstor.h)

The TS_SELECTIONSTYLE structure represents the style of a selection.

Syntax

typedef struct TS_SELECTIONSTYLE {
  TsActiveSelEnd ase;
  BOOL           fInterimChar;
} TS_SELECTIONSTYLE;

Members

ase

Specifies the active end of the selection. For more information, see TsActiveSelEnd.

fInterimChar

Indicates if the selection is an interim character. If this value is nonzero, then the selection is an interim character and ase will be TS_AE_NONE. If this value is zero, the selection is not an interim character.

Remarks

An interim character selection is the length of one character and is visually represented as a solid rectangle that is usually flashing. This is a standard UI element of Korean and some Chinese character compositions. fInterimChar is an indication that a specific character is being composed. fInterimChar can only be nonzero for a single selection. In this case, there will be no caret because the highlight takes its place.

Requirements

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

See also

TS_SELECTION_ACP

TS_SELECTION_ANCHOR

TsActiveSelEnd