TF_DA_COLOR structure (msctf.h)

The TF_DA_COLOR structure contains color data used in the display attributes for a range of text.

Syntax

typedef struct TF_DA_COLOR {
  TF_DA_COLORTYPE type;
  union {
    int      nIndex;
    COLORREF cr;
  };
} TF_DA_COLOR;

Members

type

Specifies the color type as defined in the TF_DA_COLORTYPE enumeration.

nIndex

Specifies the color as a system color index as defined in GetSysColor. This member is used only if type is equal to TF_CT_SYSCOLOR.

cr

Specifies the color as an RGB value. This member is used only if type is equal to TF_CT_COLORREF.

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

GetSysColor

TF_DA_COLORTYPE