ITfSystemLangBarItem::SetIcon method (ctfutb.h)

Modifies the icon displayed for the system language bar menu.

Syntax

HRESULT SetIcon(
  [in] HICON hIcon
);

Parameters

[in] hIcon

Contains the handle to the new icon.

Return value

This method can return one of these values.

Value Description
S_OK
The method was successful.
E_NOTIMPL
The system language bar menu does not allow its icon to be modified.

Remarks

In response to this method, the system language bar menu should call ITfLangBarItemSink::OnUpdate with TF_LBI_ICON to force the language bar to obtain the new icon.

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