ITfLangBarItemButton::InitMenu method (ctfutb.h)

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

Syntax

HRESULT InitMenu(
  [in] ITfMenu *pMenu
);

Parameters

[in] pMenu

Pointer to an ITfMenu interface that the language bar button uses to add items to the menu that the language bar displays for the button.

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