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