TF_LANGBARITEMINFO structure

The TF_LANGBARITEMINFO structure is used to hold information about a language bar item.

Syntax


typedef struct {
  CLSID clsidService;
  GUID  guidItem;
  DWORD dwStyle;
  ULONG ulSort;
  WCHAR szDescription[TF_LBI_DESC_MAXLEN];
} TF_LANGBARITEMINFO;

Members

clsidService

Contains the CLSID of the text service that owns the language bar item. This can be CLSID_NULL if the item is not provided by a text service.

guidItem

Contains a GUID value that identifies the language bar item.

dwStyle

Contains a combination of one or more of the TF_LBI_STYLE_* values.

ulSort

Specifies the sort order of the language bar item, relative to other language bar items owned by the text service. A lower number indicates that the item will be displayed prior to an item with a higher sort number.

This value is only used if clsidService identifies a registered text service. For more information about registering a text service, see ITfInputProcessorProfiles::Register.

szDescription

Contains the description string for the item in Unicode format. The description string is displayed in the language bar options menu for menu items. This buffer can hold up to TF_LBI_DESC_MAXLEN characters.

Requirements

Minimum supported client

Windows 2000 Professional [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Redistributable

TSF 1.0 on Windows 2000 Professional

Header

Ctfutb.h

IDL

Ctfutb.idl

See also

ITfInputProcessorProfiles::Register
TF_LBI_STYLE_*

 

 

Community Additions

ADD
Show:
© 2014 Microsoft