27 references to SB_HORZ
UIAutomationClientsideProviders (27)
MS\Internal\AutomationProxies\NonClientArea.cs (4)
473
return new WindowsListViewScrollBar (_hwnd, this, (int) item, NativeMethods.
SB_HORZ
);
475
return new WindowsScrollBar (_hwnd, this, (int) item, NativeMethods.
SB_HORZ
);
687
int sbFlag = idObject == NativeMethods.OBJID_HSCROLL ? NativeMethods.
SB_HORZ
: NativeMethods.SB_VERT;
726
WindowsScrollBar scrollBar = new WindowsScrollBar(hwnd, el, (int)item, idObject == NativeMethods.OBJID_HSCROLL ? NativeMethods.
SB_HORZ
: NativeMethods.SB_VERT);
MS\Internal\AutomationProxies\WindowsListView.cs (4)
642
bool fHz = SetScrollPercent (horizontalPercent, NativeMethods.
SB_HORZ
, cx, out dx);
663
SetScrollPercent(horizontalPercent, NativeMethods.
SB_HORZ
, cx, out dx);
1672
throw new ArgumentOutOfRangeException(sbFlag == NativeMethods.
SB_HORZ
? "horizontalPercent" : "verticalPercent", SR.Get(SRID.ScrollBarOutOfRange));
1675
int scrollBar = sbFlag == NativeMethods.
SB_HORZ
? NativeMethods.OBJID_HSCROLL : NativeMethods.OBJID_VSCROLL;
MS\Internal\AutomationProxies\WindowsScroll.cs (13)
46
bool isHorizontal = SetScrollPercent (hwnd, horizontalPercent, NativeMethods.
SB_HORZ
, out resultsNoCheck);
78
bool fHz = ScrollCursor(hwnd, HorizontalAmount, NativeMethods.
SB_HORZ
, fForceResults);
93
return Scrollable (hwnd, NativeMethods.
SB_HORZ
) ? GetScrollInfo (hwnd, NativeMethods.
SB_HORZ
) : ScrollPattern.NoScroll;
101
return Scrollable (hwnd, NativeMethods.
SB_HORZ
) ? ScrollViewSize (hwnd, NativeMethods.
SB_HORZ
) : 100.0;
109
return Scrollable (hwnd, NativeMethods.
SB_HORZ
);
124
if ((sbFlag == NativeMethods.
SB_HORZ
&& !Misc.IsBitSet(style, NativeMethods.WS_HSCROLL)) ||
185
return Scrollable(hwnd, NativeMethods.
SB_HORZ
) || Scrollable(hwnd, NativeMethods.SB_VERT);
293
throw new ArgumentOutOfRangeException(sbFlag == NativeMethods.
SB_HORZ
? "horizontalPercent" : "verticalPercent", SR.Get(SRID.ScrollBarOutOfRange));
324
int message = sbFlag == NativeMethods.
SB_HORZ
? NativeMethods.WM_HSCROLL : NativeMethods.WM_VSCROLL;
387
if (sbFlag == NativeMethods.
SB_HORZ
)
438
int message = sbFlag == NativeMethods.
SB_HORZ
? NativeMethods.WM_HSCROLL : NativeMethods.WM_VSCROLL;
MS\Internal\AutomationProxies\WindowsScrollBar.cs (5)
155
int idObject = _sbFlag == NativeMethods.SB_VERT ? NativeMethods.OBJID_VSCROLL : _sbFlag == NativeMethods.
SB_HORZ
? NativeMethods.OBJID_HSCROLL : NativeMethods.OBJID_CLIENT;
462
int idObject = sbFlag == NativeMethods.SB_VERT ? NativeMethods.OBJID_VSCROLL : sbFlag == NativeMethods.
SB_HORZ
? NativeMethods.OBJID_HSCROLL : NativeMethods.OBJID_CLIENT;
602
if ((Environment.OSVersion.Version.Major < 6) && (_sbFlag == NativeMethods.
SB_HORZ
) && (Misc.IsControlRTL(_parent._hwnd)))
724
int idObject = sbFlag == NativeMethods.SB_VERT ? NativeMethods.OBJID_VSCROLL : sbFlag == NativeMethods.
SB_HORZ
? NativeMethods.OBJID_HSCROLL : NativeMethods.OBJID_CLIENT;
748
else if (_sbFlag == NativeMethods.
SB_HORZ
)
MS\Internal\AutomationProxies\WindowsScrollBarBits.cs (1)
231
int idObject = sbFlag == NativeMethods.SB_VERT ? NativeMethods.OBJID_VSCROLL : sbFlag == NativeMethods.
SB_HORZ
? NativeMethods.OBJID_HSCROLL : NativeMethods.OBJID_CLIENT;