ITfLangBarItemBitmapButton::OnClick method (ctfutb.h)

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

Syntax

HRESULT OnClick(
  [in] TfLBIClick click,
  [in] POINT      pt,
  [in] const RECT *prcArea
);

Parameters

[in] click

Contains a TfLBIClick value that indicates which mouse button was used to click the button.

[in] pt

Pointer to a POINT structure that contains the position, in screen coordinates, of the mouse cursor at the time of the click event.

[in] prcArea

Pointer to a RECT structure that contains the bounding rectangle, in screen coordinates, of the button.

Return value

This method can return one of these values.

Value Description
S_OK
The method was successful.
E_INVALIDARG
One or more parameters are invalid.

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

ITfLangBarItemBitmapButton

POINT

RECT

TfLBIClick