ITfLangBarItem::Show method (ctfutb.h)

Called to show or hide the language bar item.

Syntax

HRESULT Show(
  [in] BOOL fShow
);

Parameters

[in] fShow

Contains a BOOL that indicates if the item should be shown or hidden. Contains a nonzero value if the item should be shown or zero otherwise.

Return value

This method can return one of these values.

Value Description
S_OK
The method was successful.
E_NOTIMPL
The language bar item does not support this method.

Remarks

The language bar item implementation should update its visible status by modifying the value returned from ITfLangBarItem::GetStatus to include or exclude the TF_LBI_STATUS_HIDDEN status flag. The implementation then prompts language bar to obtain the new status value by calling ITfLangBarItemSink::OnUpdate with TF_LBI_STATUS.

This method is only useful when the item has the TF_LBI_STYLE_HIDDENSTATUSCONTROL style. Without this style, only the language bar can show or hide the item.

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

ITfLangBarItem

ITfLangBarItem::GetStatus

ITfLangBarItemSink::OnUpdate