IVsDropdownBarClient.OnItemChosen(Int32, Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Fires when a combo item is chosen.
public:
int OnItemChosen(int iCombo, int iIndex);
public:
int OnItemChosen(int iCombo, int iIndex);
int OnItemChosen(int iCombo, int iIndex);
public int OnItemChosen (int iCombo, int iIndex);
abstract member OnItemChosen : int * int -> int
Public Function OnItemChosen (iCombo As Integer, iIndex As Integer) As Integer
Parameters
- iCombo
- Int32
[in] The drop-down bar/Window combo.
- iIndex
- Int32
[in] Index of item of interest.
Returns
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Remarks
COM Signature
From textmgr.idl:
HRESULT IVsDropdownBarClient::OnItemChosen(
[in] long iCombo,
[in] long iIndex
);