ITfSystemLangBarItemSink::OnMenuSelect method (ctfutb.h)

Called when the user selects an item in the system menu added by the system language bar menu extension.

Syntax

HRESULT OnMenuSelect(
  [in] UINT wID
);

Parameters

[in] wID

Specifies the identifier of the menu item selected. This is the value passed for uId in ITfMenu::AddMenuItem.

Return value

This method can return one of these values.

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

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

ITfMenu::AddMenuItem

ITfSystemLangBarItemSink