The ITfUIElementSink interface is implemented by an application to receive notifications when the UI element is changed.
Methods
The ITfUIElementSink interface inherits the methods of the IUnknown interface.
In addition, ITfUIElementSink defines the following methods.
| Method | Description |
BeginUIElement |
This is called when the UIElement started. This sink can let the textservice to draw or not to draw the UI element.
|
UpdateUIElement |
This is called when the contents of the UIElement is updated.
|
EndUIElement |
This is called when the UIElement is finished.
|
Remarks
To install this advise sink, obtain an ITfSource object from an ITfUIElementMgr object by calling ITfUIElementMgr::QueryInterface with IID_ ITfSource. Then call ITfSource::AdviseSink with IID_ ITfUIElementSink.
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