29 references to nMin
UIAutomationClientSideProviders (29)
MS\Internal\AutomationProxies\WindowsListView.cs (5)
1685!((si.nMax != si.nMin && si.nPage != si.nMax - si.nMin + 1))) 1692int future = (int) Math.Round (((si.nMax - deltaPage) - si.nMin) * fScrollPos / 100.0 + si.nMin); 1697delta = (future - si.nPos) * (cPelsAll / (si.nMax + 1 - si.nMin));
MS\Internal\AutomationProxies\WindowsListViewScroll.cs (5)
72else if (pos < si.nMin) 96dx = (int)((pos - si.nPos) * ((double)cPelsAll / (si.nMax + 1 - si.nMin))); 102dy = (int)((pos - si.nPos) * ((double)cPelsAll / (si.nMax + 1 - si.nMin))); 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 (14)
152return (si.nMax != si.nMin && si.nPage != si.nMax - si.nMin + 1); 200if (si.nMax != si.nMin && si.nPage != si.nMax - si.nMin + 1) 240return 100.0 * (si.nPos - si.nMin) / ((si.nMax - delta) - si.nMin); 254if (!Misc.GetScrollInfo(hwnd, sbFlag, ref si) || (si.nMax == si.nMin)) 263return (100.0 * nPage) / (si.nMax + 1 - si.nMin); 298!((si.nMax != si.nMin && si.nPage != si.nMax - si.nMin + 1))) 306int newPos = (int) Math.Round (((si.nMax - delta) - si.nMin) * fScrollPos / 100.0 + si.nMin); 374!((si.nMax != si.nMin && si.nPage != si.nMax - si.nMin + 1))))
MS\Internal\AutomationProxies\WindowsScrollBar.cs (4)
441if (si.nMax != si.nMin && si.nPage != si.nMax - si.nMin + 1) 596return si.nMin; 682else if (val < si.nMin)
MS\Internal\AutomationProxies\WindowsScrollBarBits.cs (1)
559if ((si.nPos == si.nMin) && (wParam == NativeMethods.SB_PAGEUP || wParam == NativeMethods.SB_LINEUP))