28 references to nMax
UIAutomationClientsideProviders (28)
MS\Internal\AutomationProxies\WindowsListView.cs (4)
1696!((si.nMax != si.nMin && si.nPage != si.nMax - si.nMin + 1))) 1703int future = (int) Math.Round (((si.nMax - deltaPage) - si.nMin) * fScrollPos / 100.0 + si.nMin); 1708delta = (future - si.nPos) * (cPelsAll / (si.nMax + 1 - si.nMin));
MS\Internal\AutomationProxies\WindowsListViewScroll.cs (5)
77if (pos > si.nMax - si.nPage + (si.nPage > 0 ? 1 : 0)) 105dx = (int)((pos - si.nPos) * ((double)cPelsAll / (si.nMax + 1 - si.nMin))); 111dy = (int)((pos - si.nPos) * ((double)cPelsAll / (si.nMax + 1 - si.nMin))); 130dx = (pos - si.nPos) * (cPelsAll / (si.nMax + 1 - si.nMin)); 136dy = (pos - si.nPos) * (cPelsAll / (si.nMax + 1 - si.nMin));
MS\Internal\AutomationProxies\WindowsScroll.cs (12)
162return (si.nMax != si.nMin && si.nPage != si.nMax - si.nMin + 1); 209if (si.nMax != si.nMin && si.nPage != si.nMax - si.nMin + 1) 249return 100.0 * (si.nPos - si.nMin) / ((si.nMax - delta) - si.nMin); 263if (!Misc.GetScrollInfo(hwnd, sbFlag, ref si) || (si.nMax == si.nMin)) 272return (100.0 * nPage) / (si.nMax + 1 - si.nMin); 305!((si.nMax != si.nMin && si.nPage != si.nMax - si.nMin + 1))) 313int newPos = (int) Math.Round (((si.nMax - delta) - si.nMin) * fScrollPos / 100.0 + si.nMin); 379!((si.nMax != si.nMin && si.nPage != si.nMax - si.nMin + 1))))
MS\Internal\AutomationProxies\WindowsScrollBar.cs (6)
459if (si.nMax != si.nMin && si.nPage != si.nMax - si.nMin + 1) 577return si.nMax - si.nPage; 581return (si.nMax - si.nPage) + (si.nPage > 0 ? 1 : 0); 683max = si.nMax - si.nPage; 687max = (si.nMax - si.nPage) + (si.nPage > 0 ? 1 : 0);
MS\Internal\AutomationProxies\WindowsScrollBarBits.cs (1)
559if ((si.nPos == si.nMax) && (wParam == NativeMethods.SB_PAGEDOWN || wParam == NativeMethods.SB_LINEDOWN))