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
| Minimum supported client | Windows 2000 Professional |
| Minimum supported server | Windows 2000 Server |
| Redistributable | TSF 1.0 onWindows NT 4.0,Windows 2000 ProfessionalandWindows MeWindows 98 |
| Header | Msctf.idl and Msctf.h |
Send comments about this topic to Microsoft
Build date: 7/14/2009