ITfUIElement interface (msctf.h)

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


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


The ITfUIElement interface has these methods.


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

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

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

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


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.


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