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

 

 

Show: