Click to Rate and Give Feedback
MSDN
MSDN Library
User Interface
TSF Reference
TSF Interfaces
ITfThreadFocusSink
Text Services Framework
ITfThreadFocusSink

The ITfThreadFocusSink interface is implemented by an application or TSF text service to receive notifications when the thread receives or loses the UI focus. This advise sink is installed by calling the TSF Manager's ITfSource::AdviseSink with IID_ITfThreadFocusSink.

Methods in Vtable Order

The ITfThreadFocusSink interface inherits the methods of the standard COM interface IUnknown.

In addition, ITfThreadFocusSink defines the following methods.

ITfThreadFocusSink methods Description
OnSetThreadFocus Called when the thread receives the UI focus.
OnKillThreadFocus Called when the thread loses the UI focus.

Requirements

Windows NT/2000/XP: Included in Windows XP.
Redistributable: Requires TSF 1.0 on Windows NT 4.0; Windows 2000; and Windows 98/Me.
Header: Declared in Msctf.idl and Msctf.h.
Library: Included as a resource in Msctf.dll.

See Also

ITfSource::AdviseSink

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