IVsDropdownBar::GetCurrentSelection Method (Int32, Int32)
Visual Studio 2015
Returns the entry that is currently selected in a given combination.
Assembly: Microsoft.VisualStudio.TextManager.Interop (in Microsoft.VisualStudio.TextManager.Interop.dll)
Parameters
- iCombo
-
Type:
System::Int32
[in] The drop-down bar/Window combination.
- piCurSel
-
Type:
System::Int32
[out] Currently selected item.
Return Value
Type: System::Int32If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Mouse moves change the highlight but not the selection.
From textmgr.idl:
HRESULT IVsDropdownBar::GetCurrentSelection( [in] long iCombo, [out] long *piCurSel );
Show: