ITfSystemLangBarItemSink
TOC
Collapse the table of content
Expand the table of content

ITfSystemLangBarItemSink interface

The ITfSystemLangBarItemSink interface is implemented by a system language bar menu extension and used by a system language bar menu (host) to allow menu items to be added to an existing system language bar menu. The extension obtains an instance of this interface by calling QueryInterface on the ITfLangBarItem object with IID_ITfSystemLangBarItemSink. It can then pass the object to the host by calling ITfSource::AdviseSink.

Members

The ITfSystemLangBarItemSink interface inherits from the IUnknown interface. ITfSystemLangBarItemSink also has these types of members:

Methods

The ITfSystemLangBarItemSink interface has these methods.

MethodDescription
InitMenu

Called to allow a system language bar item extension to add items to a system language bar menu.

OnMenuSelect

Called when the user selects an item in the system menu added by the system language bar menu extension.

 

Remarks

A system language bar menu is an object on the language bar that supports menu items added to it by third-partyextensions. The system item must support the ITfSource interface and support the IID_ITfSystemLangBarItemSink identifier in its ITfSource::AdviseSink implementation. The system item should also implement the ITfSystemLangBarItem interface. The system item uses the ITfSystemLangBarItemSink interface to allow the extension to add its items.

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

DLL

Msctf.dll

See also

IUnknown
ITfSystemLangBarItem
ITfLangBarItem
ITfSource
ITfSource::AdviseSink

 

 

Show:
© 2016 Microsoft