28 references to nMax
UIAutomationClientSideProviders (28)
MS\Internal\AutomationProxies\WindowsListView.cs (4)
1687!((si.nMax != si.nMin && si.nPage != si.nMax - si.nMin + 1))) 1694int future = (int) Math.Round (((si.nMax - deltaPage) - si.nMin) * fScrollPos / 100.0 + si.nMin); 1699delta = (future - si.nPos) * (cPelsAll / (si.nMax + 1 - si.nMin));
MS\Internal\AutomationProxies\WindowsListViewScroll.cs (5)
66if (pos > si.nMax - si.nPage + (si.nPage > 0 ? 1 : 0)) 94dx = (int)((pos - si.nPos) * ((double)cPelsAll / (si.nMax + 1 - si.nMin))); 100dy = (int)((pos - si.nPos) * ((double)cPelsAll / (si.nMax + 1 - si.nMin))); 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 (12)
152return (si.nMax != si.nMin && si.nPage != si.nMax - si.nMin + 1); 199if (si.nMax != si.nMin && si.nPage != si.nMax - si.nMin + 1) 239return 100.0 * (si.nPos - si.nMin) / ((si.nMax - delta) - si.nMin); 253if (!Misc.GetScrollInfo(hwnd, sbFlag, ref si) || (si.nMax == si.nMin)) 262return (100.0 * nPage) / (si.nMax + 1 - si.nMin); 295!((si.nMax != si.nMin && si.nPage != si.nMax - si.nMin + 1))) 303int newPos = (int) Math.Round (((si.nMax - delta) - si.nMin) * fScrollPos / 100.0 + si.nMin); 369!((si.nMax != si.nMin && si.nPage != si.nMax - si.nMin + 1))))
MS\Internal\AutomationProxies\WindowsScrollBar.cs (6)
444if (si.nMax != si.nMin && si.nPage != si.nMax - si.nMin + 1) 562return si.nMax - si.nPage; 566return (si.nMax - si.nPage) + (si.nPage > 0 ? 1 : 0); 668max = si.nMax - si.nPage; 672max = (si.nMax - si.nPage) + (si.nPage > 0 ? 1 : 0);
MS\Internal\AutomationProxies\WindowsScrollBarBits.cs (1)
550if ((si.nPos == si.nMax) && (wParam == NativeMethods.SB_PAGEDOWN || wParam == NativeMethods.SB_LINEDOWN))