TSF Interfaces


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

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
DLLTiptsf.dll

See Also

ITfSource::AdviseSink

Send comments about this topic to Microsoft

Build date: 7/14/2009

Tags :


Page view tracker