ITfLangBarEventSink::OnSetFocus method (ctfutb.h)

Called when the thread the event sink was installed from receives the input focus.

Syntax

HRESULT OnSetFocus(
  [in] DWORD dwThreadId
);

Parameters

[in] dwThreadId

Contains the current thread identifier. This is the same value returned from GetCurrentThreadId.

Return value

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

Requirements

Requirement Value
Minimum supported client Windows 2000 Professional [desktop apps only]
Minimum supported server Windows 2000 Server [desktop apps only]
Target Platform Windows
Header ctfutb.h
DLL Msutb.dll
Redistributable TSF 1.0 on Windows 2000 Professional

See also

GetCurrentThreadId

ITfLangBarEventSink