ITfUIElement interface (msctf.h)

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

Inheritance

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

Methods

The ITfUIElement interface has these methods.

 
ITfUIElement::GetDescription

The ITfUIElement::GetDescription method returns the description of the UI element.
ITfUIElement::GetGUID

The ITfUIElement::GetGUID method returns the unique id of this UI element.
ITfUIElement::IsShown

The ITfUIElement::IsShown method returns true if the UI is currently shown by a text service; otherwise false.
ITfUIElement::Show

The ITfUIElement::Show method shows the text service's UI of this UI element.

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

Requirement Value
Minimum supported client Windows 2000 Professional [desktop apps | UWP apps]
Minimum supported server Windows 2000 Server [desktop apps | UWP apps]
Target Platform Windows
Header msctf.h
Redistributable TSF 1.0 on Windows 2000 Professional