Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
ITfKeyEventSink
Collapse the table of content
Expand the table of content

ITfKeyEventSink interface

The ITfKeyEventSink interface is implemented by a text service to receive keyboard and focus event notifications. To install this event sink, call ITfKeystrokeMgr::AdviseKeyEventSink.

Members

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

Methods

The ITfKeyEventSink interface has these methods.

MethodDescription
OnKeyDown

Called when a key down event occurs.

OnKeyUp

Called when a key up event occurs.

OnPreservedKey

Called when a preserved key event occurs.

OnSetFocus

Called when a TSF text service receives or loses the keyboard focus.

OnTestKeyDown

Called to determine if a text service will handle a key down event.

OnTestKeyUp

Called to determine if a text service will handle a key up event.

 

Requirements

Minimum supported client

Windows 2000 Professional [desktop apps | Windows Store apps]

Minimum supported server

Windows 2000 Server [desktop apps | Windows Store apps]

Redistributable

TSF 1.0 on Windows 2000 Professional

Header

Msctf.h

IDL

Msctf.idl

DLL

Msctf.dll

See also

IUnknown
ITfKeystrokeMgr::AdviseKeyEventSink

 

 

Community Additions

ADD
Show:
© 2015 Microsoft