IVsTextViewEvents::OnChangeScrollInfo Method (IVsTextView^, Int32, Int32, Int32, Int32, Int32)
Visual Studio 2015
Notifies a client when the scrolling information is changed.
Assembly: Microsoft.VisualStudio.TextManager.Interop (in Microsoft.VisualStudio.TextManager.Interop.dll)
void OnChangeScrollInfo( IVsTextView^ pView, int iBar, int iMinUnit, int iMaxUnits, int iVisibleUnits, int iFirstVisibleUnit )
Parameters
- pView
-
Type:
Microsoft.VisualStudio.TextManager.Interop::IVsTextView^
[in] Pointer to a view object.
- iBar
-
Type:
System::Int32
[in] Integer value referring to the bar.
- iMinUnit
-
Type:
System::Int32
[in] Integer value for the minimum units.
- iMaxUnits
-
Type:
System::Int32
[in] Integer value for the maximum units.
- iVisibleUnits
-
Type:
System::Int32
[in] Integer value for the visible units.
- iFirstVisibleUnit
-
Type:
System::Int32
[in] Integer value for the first visible unit.
From textmgr.idl:
HRESULT IVsTextViewEvents::OnChangeScrollInfo( [in] IVsTextView *pView, [in] long iBar, [in] long iMinUnit, [in] long iMaxUnits, [in] long iVisibleUnits, [in] long iFirstVisibleUnit );
The reference count is not incremented when you obtain a pointer to IVsTextView; if you want to keep it, call AddRef on it explicitly.
Show: