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

  Switch on low bandwidth view
ITfThreadFocusSink Interface

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

The ITfThreadFocusSink interface inherits the methods of the IUnknown interface.

In addition, ITfThreadFocusSink defines the following methods.

MethodDescription

OnSetThreadFocus

Called when the thread receives the UI focus.

OnKillThreadFocus

Called when the thread loses the UI focus.

Requirements

ClientRequires Windows XP, Windows 2000 Professional, or Windows NT Workstation.
RedistributableRequires TSF 1.0 on Windows NT 4.0, Windows 2000 Professional and Windows MeWindows 98.
HeaderDeclared in Msctf.idl and Msctf.h.
DLLRequires Tiptsf.dll.

See Also

ITfSource::AdviseSink


Send comments about this topic to Microsoft

Build date: 12/17/2008

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