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