ITfUIElementSink interface (msctf.h)

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

Inheritance

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

Methods

The ITfUIElementSink interface has these methods.

 
ITfUIElementSink::BeginUIElement

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.
ITfUIElementSink::EndUIElement

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

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

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

Requirement Value
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