79 references to rcScrollBar
UIAutomationClientsideProviders (79)
MS\Internal\AutomationProxies\WindowsListViewGroupHelper.cs (4)
832
return new NativeMethods.Win32Rect(sbi.
rcScrollBar
.left, sbi.
rcScrollBar
.top, sbi.
rcScrollBar
.right, sbi.
rcScrollBar
.bottom);
MS\Internal\AutomationProxies\WindowsScrollBar.cs (23)
165
long area = (sbi.
rcScrollBar
.right - sbi.
rcScrollBar
.left) * (sbi.
rcScrollBar
.bottom - sbi.
rcScrollBar
.top);
181
int width = sbi.
rcScrollBar
.right - sbi.
rcScrollBar
.left;
185
int offset = (int)rcParent.Right - sbi.
rcScrollBar
.right;
186
sbi.
rcScrollBar
.left = (int)rcParent.Left + offset;
187
sbi.
rcScrollBar
.right = sbi.
rcScrollBar
.left + width;
191
int offset = sbi.
rcScrollBar
.left - (int)rcParent.Left;
192
sbi.
rcScrollBar
.right = (int)rcParent.Right - offset;
193
sbi.
rcScrollBar
.left = sbi.
rcScrollBar
.right - width;
199
return sbi.
rcScrollBar
.ToRect(false);
472
long area = (sbi.
rcScrollBar
.right - sbi.
rcScrollBar
.left) * (sbi.
rcScrollBar
.bottom - sbi.
rcScrollBar
.top);
485
fThumbVisible = (sbi.
rcScrollBar
.bottom - sbi.
rcScrollBar
.top >= 5 * sizeArrow.cy / 2);
489
fThumbVisible = (sbi.
rcScrollBar
.right - sbi.
rcScrollBar
.left >= 5 * sizeArrow.cx / 2);
MS\Internal\AutomationProxies\WindowsScrollBarBits.cs (52)
249
int width = sbi.
rcScrollBar
.right - sbi.
rcScrollBar
.left;
253
int offset = (int)rcParent.Right - sbi.
rcScrollBar
.right;
254
sbi.
rcScrollBar
.left = (int)rcParent.Left + offset;
255
sbi.
rcScrollBar
.right = sbi.
rcScrollBar
.left + width;
259
int offset = sbi.
rcScrollBar
.left - (int)rcParent.Left;
260
sbi.
rcScrollBar
.right = (int)rcParent.Right - offset;
261
sbi.
rcScrollBar
.left = sbi.
rcScrollBar
.right - width;
272
long area = (sbi.
rcScrollBar
.right - sbi.
rcScrollBar
.left) * (sbi.
rcScrollBar
.bottom - sbi.
rcScrollBar
.top);
306
NativeMethods.Win32Rect rc = new NativeMethods.Win32Rect(sbi.
rcScrollBar
.left, sbi.xyThumbTop, sbi.
rcScrollBar
.right, sbi.xyThumbBottom);
314
rc.left = sbi.
rcScrollBar
.left;
315
rc.right = sbi.
rcScrollBar
.right;
325
bool fThumbVisible = sbi.
rcScrollBar
.bottom - sbi.
rcScrollBar
.top >= 5 * sizeArrow.cy / 2;
326
if (sbi.
rcScrollBar
.bottom - sbi.
rcScrollBar
.top < 2 * sizeArrow.cy)
329
sizeArrow.cy = (sbi.
rcScrollBar
.bottom - sbi.
rcScrollBar
.top) / 2;
335
rc.top = sbi.
rcScrollBar
.top;
336
rc.bottom = sbi.
rcScrollBar
.top + sizeArrow.cy;
343
rc.bottom = sbi.
rcScrollBar
.bottom - sizeArrow.cy;
347
rc.top = rc.bottom = sbi.
rcScrollBar
.top + sizeArrow.cy;
354
rc.top = rc.bottom = sbi.
rcScrollBar
.top + sizeArrow.cy;
362
rc.top = sbi.
rcScrollBar
.top + sizeArrow.cy;
366
rc.top = rc.bottom = sbi.
rcScrollBar
.top + sizeArrow.cy;
371
rc.top = sbi.
rcScrollBar
.bottom - sizeArrow.cy;
372
rc.bottom = sbi.
rcScrollBar
.bottom;
398
NativeMethods.Win32Rect rc = new NativeMethods.Win32Rect(sbi.xyThumbTop, sbi.
rcScrollBar
.top, sbi.xyThumbBottom, sbi.
rcScrollBar
.bottom);
405
rc.top = sbi.
rcScrollBar
.top;
406
rc.bottom = sbi.
rcScrollBar
.bottom;
416
bool fThumbVisible = sbi.
rcScrollBar
.right - sbi.
rcScrollBar
.left >= 5 * sizeArrow.cx / 2;
417
if (sbi.
rcScrollBar
.right - sbi.
rcScrollBar
.left < 2 * sizeArrow.cx)
420
sizeArrow.cx = (sbi.
rcScrollBar
.right - sbi.
rcScrollBar
.left) / 2;
449
rc.left = sbi.
rcScrollBar
.left;
450
rc.right = sbi.
rcScrollBar
.left + sizeArrow.cx;
457
rc.right = sbi.
rcScrollBar
.right - sizeArrow.cx;
461
rc.left = rc.right = sbi.
rcScrollBar
.left + sizeArrow.cx;
468
rc.left = rc.right = sbi.
rcScrollBar
.left + sizeArrow.cx;
476
rc.left = sbi.
rcScrollBar
.left + sizeArrow.cx;
480
rc.left = rc.right = sbi.
rcScrollBar
.left + sizeArrow.cx;
485
rc.left = sbi.
rcScrollBar
.right - sizeArrow.cx;
486
rc.right = sbi.
rcScrollBar
.right;