ITfUIElementSink interface (msctf.h)

The ITfUIElementSink interface is implemented by an application to receive notifications when the UI element is changed.


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


The ITfUIElementSink interface has these methods.


The ITfUIElementSink::BeginUIElement method is called when the UIElement started. This sink can let the textservice to draw or not to draw the UI element.

The ITfUIElementSink::EndUIElement method is called when the UIElement is finished.

The ITfUIElementSink::UpdateUIElement method is called when the contents of the UIElement is updated.


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.


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