TSF Interfaces


ITfUIElementSink Interface

The ITfUIElement interface is a base interface of the UIElement object and is implemented by a text service.

Methods

The ITfUIElementSink interface inherits the methods of the IUnknown interface.

In addition, ITfUIElementSink defines the following methods.

MethodDescription

>GetDescription

Returns the description of the UI element.

>GetGUID

Get the unique id of this UI element.

>Show

Shows the text service's UI of this UI element.

>IsShown

Return true if the UI is currently shown by a text service; otherwise false.

 

Remarks

A text service may implement some other UIElement interface such as ITfCandidateListUIElement in the same object that can be obtained by QI. A text service may implement only the ITfUIElement interface to a UI object that does not have to be drawn by the application but the show status can be controlled by the application. A text service that is categorized by GUID_TFCAT_TIPCAP_UIELEMENTENABLED needs to implement ITfUIElement for any UI object.

Requirements

Minimum supported clientWindows 2000 Professional
Minimum supported serverWindows 2000 Server
RedistributableTSF 1.0 onWindows NT 4.0,Windows 2000 ProfessionalandWindows MeWindows 98
HeaderMsctf.idl and Msctf.h

Send comments about this topic to Microsoft

Build date: 7/14/2009

Tags :


Page view tracker