The ITfUIElementMgr interface is implemented by TSF manager and used by an application or a text service. An application and a text service can obtain this interface by ITfThreadMgr::QueryInterface with IID_ITfUIElementMgr.
Methods
The ITfUIElementMgr interface inherits the methods of the IUnknown interface.
In addition, ITfUIElementMgr defines the following methods.
| Method | Description |
BeginUIElement |
A text service calls this method before showing UI. It returns if the text service’s UI should be shown or not.
|
UpdateUIElement |
A text service calls this method when the element of UI must be updated.
|
EndUIElement |
A text service calls this method when the element of UI is hidden.
|
GetUIElement |
Get ITfUIElement interface of the element id.
|
>EnumUIElement |
Return IEnumTfUIElements interface pointer to enumerate the ITfUIElement.
|
Remarks
A text service that supports UIElement must call ITfUIElementMgr whenever the UI is shown, updated or hidden. Then the application can control the visibility of the UI.
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