ITfLangBarItemBitmapButton interface (ctfutb.h)

The ITfLangBarItemBitmapButton interface is implemented by a language bar bitmap button provider and is used by the language bar manager to obtain information specific to a bitmap 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 with IID_ITfLangBarItemBitmapButton.

Inheritance

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

Methods

The ITfLangBarItemBitmapButton interface has these methods.

 
ITfLangBarItemBitmapButton::DrawBitmap

ITfLangBarItemBitmapButton::DrawBitmap method
ITfLangBarItemBitmapButton::GetPreferredSize

ITfLangBarItemBitmapButton::GetPreferredSize method
ITfLangBarItemBitmapButton::GetText

ITfLangBarItemBitmapButton::GetText method
ITfLangBarItemBitmapButton::InitMenu

This method is not used if the button item does not have the TF_LBI_STYLE_BTN_MENU style. (ITfLangBarItemBitmapButton.InitMenu)
ITfLangBarItemBitmapButton::OnClick

This method is not used if the button item does not have the TF_LBI_STYLE_BTN_BUTTON style. (ITfLangBarItemBitmapButton.OnClick)
ITfLangBarItemBitmapButton::OnMenuSelect

This method is not used if the button item does not have the TF_LBI_STYLE_BTN_MENU style. (ITfLangBarItemBitmapButton.OnMenuSelect)

Remarks

A language bar bitmap button functions as a button item on the language bar that displays text and a small bitmap. The bitmap displayed for the item should not be larger than the size of a small icon. Obtain these dimensions by calling GetSystemMetrics with SM_CXSMICON for the width and SM_CYSMICON for the height.

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
Redistributable TSF 1.0 on Windows 2000 Professional

See also

GetSystemMetrics

ITfLangBarItem

ITfLangBarItemMgr::AddItem

IUnknown