1 write to nPos
UIAutomationClientSideProviders (1)
MS\Internal\AutomationProxies\WindowsScroll.cs (1)
310
si.
nPos
= newPos;
20 references to nPos
UIAutomationClientSideProviders (20)
MS\Internal\AutomationProxies\WindowsListView.cs (1)
1699
delta = (future - si.
nPos
) * (cPelsAll / (si.nMax + 1 - si.nMin));
MS\Internal\AutomationProxies\WindowsListViewScroll.cs (5)
94
dx = (int)((pos - si.
nPos
) * ((double)cPelsAll / (si.nMax + 1 - si.nMin)));
100
dy = (int)((pos - si.
nPos
) * ((double)cPelsAll / (si.nMax + 1 - si.nMin)));
113
if (si.
nPos
!= pos)
119
dx = (pos - si.
nPos
) * (cPelsAll / (si.nMax + 1 - si.nMin));
125
dy = (pos - si.
nPos
) * (cPelsAll / (si.nMax + 1 - si.nMin));
MS\Internal\AutomationProxies\WindowsScroll.cs (9)
239
return 100.0 * (si.
nPos
- si.nMin) / ((si.nMax - delta) - si.nMin);
306
if (newPos == si.
nPos
)
316
int wParam = NativeMethods.Util.MAKELONG(NativeMethods.SB_THUMBPOSITION, si.
nPos
);
319
if (fRet && Misc.GetScrollInfo(hwnd, sbFlag, ref si) && si.
nPos
!= newPos)
327
ScrollAmount prevAmount = si.
nPos
> newPos ? ScrollAmount.SmallDecrement : ScrollAmount.SmallIncrement;
330
ScrollAmount amount = si.
nPos
> newPos ? ScrollAmount.SmallDecrement : ScrollAmount.SmallIncrement;
334
if (prevAmount != amount || prevPos == si.
nPos
)
338
prevPos = si.
nPos
;
340
} while (fRet && Misc.GetScrollInfo(hwnd, sbFlag, ref si) && si.
nPos
!= newPos);
MS\Internal\AutomationProxies\WindowsScrollBar.cs (3)
589
return GetScrollMaxValue(si) - si.
nPos
;
591
return si.
nPos
;
633
if (val == si.
nPos
)
MS\Internal\AutomationProxies\WindowsScrollBarBits.cs (2)
550
if ((si.
nPos
== si.nMax) && (wParam == NativeMethods.SB_PAGEDOWN || wParam == NativeMethods.SB_LINEDOWN))
557
if ((si.
nPos
== si.nMin) && (wParam == NativeMethods.SB_PAGEUP || wParam == NativeMethods.SB_LINEUP))