IVsTextViewEvents.OnChangeScrollInfo 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.
Notifies a client when the scrolling information is changed.
public:
void OnChangeScrollInfo(Microsoft::VisualStudio::TextManager::Interop::IVsTextView ^ pView, int iBar, int iMinUnit, int iMaxUnits, int iVisibleUnits, int iFirstVisibleUnit);
public:
void OnChangeScrollInfo(Microsoft::VisualStudio::TextManager::Interop::IVsTextView ^ pView, int iBar, int iMinUnit, int iMaxUnits, int iVisibleUnits, int iFirstVisibleUnit);
void OnChangeScrollInfo(Microsoft::VisualStudio::TextManager::Interop::IVsTextView const & pView, int iBar, int iMinUnit, int iMaxUnits, int iVisibleUnits, int iFirstVisibleUnit);
public void OnChangeScrollInfo (Microsoft.VisualStudio.TextManager.Interop.IVsTextView pView, int iBar, int iMinUnit, int iMaxUnits, int iVisibleUnits, int iFirstVisibleUnit);
abstract member OnChangeScrollInfo : Microsoft.VisualStudio.TextManager.Interop.IVsTextView * int * int * int * int * int -> unit
Public Sub OnChangeScrollInfo (pView As IVsTextView, iBar As Integer, iMinUnit As Integer, iMaxUnits As Integer, iVisibleUnits As Integer, iFirstVisibleUnit As Integer)
Parameters
- pView
- IVsTextView
[in] Pointer to a view object.
- iBar
- Int32
[in] Integer value referring to the bar.
- iMinUnit
- Int32
[in] Integer value for the minimum units.
- iMaxUnits
- Int32
[in] Integer value for the maximum units.
- iVisibleUnits
- Int32
[in] Integer value for the visible units.
- iFirstVisibleUnit
- Int32
[in] Integer value for the first visible unit.
Remarks
COM Signature
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.