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.
| Method | Description |
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
| Client | Requires Windows XP, Windows 2000 Professional, or Windows NT Workstation. |
| Redistributable | Requires TSF 1.0 on Windows NT 4.0, Windows 2000 Professional and Windows MeWindows 98. |
| Header | Declared in Msctf.idl and Msctf.h. |
Send comments about this topic to Microsoft
Build date: 12/17/2008