1 write to nPos
UIAutomationClientsideProviders (1)
MS\Internal\AutomationProxies\WindowsScroll.cs (1)
320
si.
nPos
= newPos;
20 references to nPos
UIAutomationClientsideProviders (20)
MS\Internal\AutomationProxies\WindowsListView.cs (1)
1708
delta = (future - si.
nPos
) * (cPelsAll / (si.nMax + 1 - si.nMin));
MS\Internal\AutomationProxies\WindowsListViewScroll.cs (5)
105
dx = (int)((pos - si.
nPos
) * ((double)cPelsAll / (si.nMax + 1 - si.nMin)));
111
dy = (int)((pos - si.
nPos
) * ((double)cPelsAll / (si.nMax + 1 - si.nMin)));
124
if (si.
nPos
!= pos)
130
dx = (pos - si.
nPos
) * (cPelsAll / (si.nMax + 1 - si.nMin));
136
dy = (pos - si.
nPos
) * (cPelsAll / (si.nMax + 1 - si.nMin));
MS\Internal\AutomationProxies\WindowsScroll.cs (9)
249
return 100.0 * (si.
nPos
- si.nMin) / ((si.nMax - delta) - si.nMin);
316
if (newPos == si.
nPos
)
326
int wParam = NativeMethods.Util.MAKELONG(NativeMethods.SB_THUMBPOSITION, si.
nPos
);
329
if (fRet && Misc.GetScrollInfo(hwnd, sbFlag, ref si) && si.
nPos
!= newPos)
337
ScrollAmount prevAmount = si.
nPos
> newPos ? ScrollAmount.SmallDecrement : ScrollAmount.SmallIncrement;
340
ScrollAmount amount = si.
nPos
> newPos ? ScrollAmount.SmallDecrement : ScrollAmount.SmallIncrement;
344
if (prevAmount != amount || prevPos == si.
nPos
)
348
prevPos = si.
nPos
;
350
} while (fRet && Misc.GetScrollInfo(hwnd, sbFlag, ref si) && si.
nPos
!= newPos);
MS\Internal\AutomationProxies\WindowsScrollBar.cs (3)
604
return GetScrollMaxValue(si) - si.
nPos
;
606
return si.
nPos
;
648
if (val == si.
nPos
)
MS\Internal\AutomationProxies\WindowsScrollBarBits.cs (2)
559
if ((si.
nPos
== si.nMax) && (wParam == NativeMethods.SB_PAGEDOWN || wParam == NativeMethods.SB_LINEDOWN))
566
if ((si.
nPos
== si.nMin) && (wParam == NativeMethods.SB_PAGEUP || wParam == NativeMethods.SB_LINEUP))