Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

ITfKeyEventSink::OnSetFocus method

Syntax


HRESULT OnSetFocus(
  [in]  BOOL fForeground
);

Parameters

fForeground [in]

If TRUE, the test service receives the focus. Otherwise the text service loses the focus.

Return value

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

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

 

 

Community Additions

Show:
© 2015 Microsoft