Skip to content

Latest commit

 

History

History
69 lines (57 loc) · 3.59 KB

nn-ctfutb-itflangbaritembutton.md

File metadata and controls

69 lines (57 loc) · 3.59 KB
UID title description helpviewer_keywords old-location tech.root ms.assetid ms.date ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames req.redist ms.custom f1_keywords dev_langs topic_type api_type api_location api_name
NN:ctfutb.ITfLangBarItemButton
ITfLangBarItemButton (ctfutb.h)
The ITfLangBarItemButton interface is implemented by a language bar button provider and used by the language bar manager to obtain information about a button item on the language bar.
ITfLangBarItemButton
ITfLangBarItemButton interface [Text Services Framework]
ITfLangBarItemButton interface [Text Services Framework]
described
_tsf_itflangbaritembutton_ref
ctfutb/ITfLangBarItemButton
tsf.itflangbaritembutton
tsf\itflangbaritembutton.htm
TSF
098a8cdc-ff34-4729-9b34-279c499d40a8
12/05/2018
ITfLangBarItemButton, ITfLangBarItemButton interface [Text Services Framework], ITfLangBarItemButton interface [Text Services Framework],described, _tsf_itflangbaritembutton_ref, ctfutb/ITfLangBarItemButton, tsf.itflangbaritembutton
ctfutb.h
Windows
Windows 2000 Professional [desktop apps only]
Windows 2000 Server [desktop apps only]
Ctfutb.idl
Msctf.dll
Windows
TSF 1.0 on Windows 2000 Professional
19H1
ITfLangBarItemButton
ctfutb/ITfLangBarItemButton
c++
APIRef
kbSyntax
COM
msctf.dll
ITfLangBarItemButton

ITfLangBarItemButton interface

-description

The ITfLangBarItemButton interface is implemented by a language bar button provider and used by the language bar manager to obtain information about a button item on the language bar.

The language bar manager obtains an instance of this interface by calling QueryInterface on the ITfLangBarItem passed to ITfLangBarItemMgr::AddItem.

-inheritance

The ITfLangBarItemButton interface inherits from the IUnknown interface. ITfLangBarItemButton also has these types of members:

-remarks

A language bar button functions as a pushbutton, toggle button, or a menu on the language bar.

If the button has the TF_LBI_STYLE_BTN_BUTTON style, the button acts as a pushbutton that the user can click with the mouse. When the user clicks the button, ITfLangBarItemButton::OnClick is called. ITfLangBarItemButton::InitMenu and ITfLangBarItemButton::OnMenuSelect are not used.

If the button has the TF_LBI_STYLE_BTN_TOGGLE style, the button functions similar to a check box that the user can select or deselect with the mouse. When the user clicks the button, ITfLangBarItemButton::OnClick is called. ITfLangBarItemButton::InitMenu and ITfLangBarItemButton::OnMenuSelect are not used.

If the button has the TF_LBI_STYLE_BTN_MENU style, the button acts like a top-level menu item. When the user clicks the button, ITfLangBarItemButton::InitMenu is called. If the user selects an item in the menu, ITfLangBarItemButton::OnMenuSelect is called. ITfLangBarItemButton::OnClick is not used.