79 references to rcScrollBar
UIAutomationClientSideProviders (79)
MS\Internal\AutomationProxies\WindowsListViewGroupHelper.cs (4)
819return new NativeMethods.Win32Rect(sbi.rcScrollBar.left, sbi.rcScrollBar.top, sbi.rcScrollBar.right, sbi.rcScrollBar.bottom);
MS\Internal\AutomationProxies\WindowsScrollBar.cs (23)
151long area = (sbi.rcScrollBar.right - sbi.rcScrollBar.left) * (sbi.rcScrollBar.bottom - sbi.rcScrollBar.top); 167int width = sbi.rcScrollBar.right - sbi.rcScrollBar.left; 171int offset = (int)rcParent.Right - sbi.rcScrollBar.right; 172sbi.rcScrollBar.left = (int)rcParent.Left + offset; 173sbi.rcScrollBar.right = sbi.rcScrollBar.left + width; 177int offset = sbi.rcScrollBar.left - (int)rcParent.Left; 178sbi.rcScrollBar.right = (int)rcParent.Right - offset; 179sbi.rcScrollBar.left = sbi.rcScrollBar.right - width; 185return sbi.rcScrollBar.ToRect(false); 457long area = (sbi.rcScrollBar.right - sbi.rcScrollBar.left) * (sbi.rcScrollBar.bottom - sbi.rcScrollBar.top); 470fThumbVisible = (sbi.rcScrollBar.bottom - sbi.rcScrollBar.top >= 5 * sizeArrow.cy / 2); 474fThumbVisible = (sbi.rcScrollBar.right - sbi.rcScrollBar.left >= 5 * sizeArrow.cx / 2);
MS\Internal\AutomationProxies\WindowsScrollBarBits.cs (52)
240int width = sbi.rcScrollBar.right - sbi.rcScrollBar.left; 244int offset = (int)rcParent.Right - sbi.rcScrollBar.right; 245sbi.rcScrollBar.left = (int)rcParent.Left + offset; 246sbi.rcScrollBar.right = sbi.rcScrollBar.left + width; 250int offset = sbi.rcScrollBar.left - (int)rcParent.Left; 251sbi.rcScrollBar.right = (int)rcParent.Right - offset; 252sbi.rcScrollBar.left = sbi.rcScrollBar.right - width; 263long area = (sbi.rcScrollBar.right - sbi.rcScrollBar.left) * (sbi.rcScrollBar.bottom - sbi.rcScrollBar.top); 297NativeMethods.Win32Rect rc = new NativeMethods.Win32Rect(sbi.rcScrollBar.left, sbi.xyThumbTop, sbi.rcScrollBar.right, sbi.xyThumbBottom); 305rc.left = sbi.rcScrollBar.left; 306rc.right = sbi.rcScrollBar.right; 316bool fThumbVisible = sbi.rcScrollBar.bottom - sbi.rcScrollBar.top >= 5 * sizeArrow.cy / 2; 317if (sbi.rcScrollBar.bottom - sbi.rcScrollBar.top < 2 * sizeArrow.cy) 320sizeArrow.cy = (sbi.rcScrollBar.bottom - sbi.rcScrollBar.top) / 2; 326rc.top = sbi.rcScrollBar.top; 327rc.bottom = sbi.rcScrollBar.top + sizeArrow.cy; 334rc.bottom = sbi.rcScrollBar.bottom - sizeArrow.cy; 338rc.top = rc.bottom = sbi.rcScrollBar.top + sizeArrow.cy; 345rc.top = rc.bottom = sbi.rcScrollBar.top + sizeArrow.cy; 353rc.top = sbi.rcScrollBar.top + sizeArrow.cy; 357rc.top = rc.bottom = sbi.rcScrollBar.top + sizeArrow.cy; 362rc.top = sbi.rcScrollBar.bottom - sizeArrow.cy; 363rc.bottom = sbi.rcScrollBar.bottom; 389NativeMethods.Win32Rect rc = new NativeMethods.Win32Rect(sbi.xyThumbTop, sbi.rcScrollBar.top, sbi.xyThumbBottom, sbi.rcScrollBar.bottom); 396rc.top = sbi.rcScrollBar.top; 397rc.bottom = sbi.rcScrollBar.bottom; 407bool fThumbVisible = sbi.rcScrollBar.right - sbi.rcScrollBar.left >= 5 * sizeArrow.cx / 2; 408if (sbi.rcScrollBar.right - sbi.rcScrollBar.left < 2 * sizeArrow.cx) 411sizeArrow.cx = (sbi.rcScrollBar.right - sbi.rcScrollBar.left) / 2; 440rc.left = sbi.rcScrollBar.left; 441rc.right = sbi.rcScrollBar.left + sizeArrow.cx; 448rc.right = sbi.rcScrollBar.right - sizeArrow.cx; 452rc.left = rc.right = sbi.rcScrollBar.left + sizeArrow.cx; 459rc.left = rc.right = sbi.rcScrollBar.left + sizeArrow.cx; 467rc.left = sbi.rcScrollBar.left + sizeArrow.cx; 471rc.left = rc.right = sbi.rcScrollBar.left + sizeArrow.cx; 476rc.left = sbi.rcScrollBar.right - sizeArrow.cx; 477rc.right = sbi.rcScrollBar.right;