ITfLangBarItemButton::OnMenuSelect method (ctfutb.h)

This method is not used if the button item does not have the TF_LBI_STYLE_BTN_MENU style.

Syntax

HRESULT OnMenuSelect(
  [in] UINT wID
);

Parameters

[in] wID

Specifies the identifier of the menu item selected. This is the value passed for the uId parameter 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

ITfLangBarItemButton

ITfMenu::AddMenuItem