TF_DISPLAYATTRIBUTE structure (msctf.h)

The TF_DISPLAYATTRIBUTE structure contains display attribute data for rendering text.

Syntax

typedef struct TF_DISPLAYATTRIBUTE {
  TF_DA_COLOR     crText;
  TF_DA_COLOR     crBk;
  TF_DA_LINESTYLE lsStyle;
  BOOL            fBoldLine;
  TF_DA_COLOR     crLine;
  TF_DA_ATTR_INFO bAttr;
} TF_DISPLAYATTRIBUTE;

Members

crText

Contains a TF_DA_COLOR structure that defines the text foreground color.

crBk

Contains a TF_DA_COLOR structure that defines the text background color.

lsStyle

Contains a TF_DA_LINESTYLE enumeration value that defines the underline style.

fBoldLine

A BOOL value that specifies if the underline should be bold or normal weight. If this value is nonzero, the underline should be bold. If this value is zero, the underline should be normal.

crLine

Contains a TF_DA_COLOR structure that defines the color of the underline.

bAttr

Contains a TF_DA_ATTR_INFO value that defines text conversion display attribute data.

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_DA_ATTR_INFO

TF_DA_COLOR

TF_DA_LINESTYLE