Click to Rate and Give Feedback
MSDN
MSDN Library
User Interface
TSF Reference
TSF Interfaces
ITfUIElementSink
ITfUIElementSink Interface

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.

MethodDescription

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 clientWindows 2000 Professional
Minimum supported serverWindows 2000 Server
RedistributableTSF 1.0 onWindows NT 4.0,Windows 2000 ProfessionalandWindows MeWindows 98
HeaderMsctf.idl and Msctf.h

Send comments about this topic to Microsoft

Build date: 7/14/2009

Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2010 Microsoft Corporation. All rights reserved. Terms of Use | Trademarks | Privacy Statement
Page view tracker