1 write to nPos
UIAutomationClientSideProviders (1)
MS\Internal\AutomationProxies\WindowsScroll.cs (1)
313si.nPos = newPos;
20 references to nPos
UIAutomationClientSideProviders (20)
MS\Internal\AutomationProxies\WindowsListView.cs (1)
1697delta = (future - si.nPos) * (cPelsAll / (si.nMax + 1 - si.nMin));
MS\Internal\AutomationProxies\WindowsListViewScroll.cs (5)
96dx = (int)((pos - si.nPos) * ((double)cPelsAll / (si.nMax + 1 - si.nMin))); 102dy = (int)((pos - si.nPos) * ((double)cPelsAll / (si.nMax + 1 - si.nMin))); 115if (si.nPos != pos) 121dx = (pos - si.nPos) * (cPelsAll / (si.nMax + 1 - si.nMin)); 127dy = (pos - si.nPos) * (cPelsAll / (si.nMax + 1 - si.nMin));
MS\Internal\AutomationProxies\WindowsScroll.cs (9)
240return 100.0 * (si.nPos - si.nMin) / ((si.nMax - delta) - si.nMin); 309if (newPos == si.nPos) 319int wParam = NativeMethods.Util.MAKELONG(NativeMethods.SB_THUMBPOSITION, si.nPos); 322if (fRet && Misc.GetScrollInfo(hwnd, sbFlag, ref si) && si.nPos != newPos) 330ScrollAmount prevAmount = si.nPos > newPos ? ScrollAmount.SmallDecrement : ScrollAmount.SmallIncrement; 333ScrollAmount amount = si.nPos > newPos ? ScrollAmount.SmallDecrement : ScrollAmount.SmallIncrement; 337if (prevAmount != amount || prevPos == si.nPos) 341prevPos = si.nPos; 343} while (fRet && Misc.GetScrollInfo(hwnd, sbFlag, ref si) && si.nPos != newPos);
MS\Internal\AutomationProxies\WindowsScrollBar.cs (3)
588return GetScrollMaxValue(si) - si.nPos; 590return si.nPos; 634if (val == si.nPos)
MS\Internal\AutomationProxies\WindowsScrollBarBits.cs (2)
552if ((si.nPos == si.nMax) && (wParam == NativeMethods.SB_PAGEDOWN || wParam == NativeMethods.SB_LINEDOWN)) 559if ((si.nPos == si.nMin) && (wParam == NativeMethods.SB_PAGEUP || wParam == NativeMethods.SB_LINEUP))