ITfLangBarItemSink::OnUpdate method (ctfutb.h)

Notifies the language bar of a change in a language bar item.

Syntax

HRESULT OnUpdate(
  [in] DWORD dwFlags
);

Parameters

[in] dwFlags

Contains a set of flags that indicate changes in the language bar item. This can be a combination of one or more of the TF_LBI_* values.

Return value

This method can return one of these values.

Value Description
S_OK
The method was successful.
E_FAIL
An unspecified error occurred.

Remarks

A language bar item should call this method when the internal state of the item changes. TSF will update the language bar user interface appropriately.

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 Msctf.dll
Redistributable TSF 1.0 on Windows 2000 Professional

See also

ITfLangBarItemSink

TF_LBI_* Constants