27 references to SB_HORZ
UIAutomationClientSideProviders (27)
MS\Internal\AutomationProxies\NonClientArea.cs (4)
472
return new WindowsListViewScrollBar (_hwnd, this, (int) item, NativeMethods.
SB_HORZ
);
474
return new WindowsScrollBar (_hwnd, this, (int) item, NativeMethods.
SB_HORZ
);
686
int sbFlag = idObject == NativeMethods.OBJID_HSCROLL ? NativeMethods.
SB_HORZ
: NativeMethods.SB_VERT;
725
WindowsScrollBar scrollBar = new WindowsScrollBar(hwnd, el, (int)item, idObject == NativeMethods.OBJID_HSCROLL ? NativeMethods.
SB_HORZ
: NativeMethods.SB_VERT);
MS\Internal\AutomationProxies\WindowsListView.cs (4)
632
bool fHz = SetScrollPercent (horizontalPercent, NativeMethods.
SB_HORZ
, cx, out dx);
653
SetScrollPercent(horizontalPercent, NativeMethods.
SB_HORZ
, cx, out dx);
1664
throw new ArgumentOutOfRangeException(sbFlag == NativeMethods.
SB_HORZ
? "horizontalPercent" : "verticalPercent", SR.ScrollBarOutOfRange);
1667
int scrollBar = sbFlag == NativeMethods.
SB_HORZ
? NativeMethods.OBJID_HSCROLL : NativeMethods.OBJID_VSCROLL;
MS\Internal\AutomationProxies\WindowsScroll.cs (13)
36
bool isHorizontal = SetScrollPercent (hwnd, horizontalPercent, NativeMethods.
SB_HORZ
, out resultsNoCheck);
68
bool fHz = ScrollCursor(hwnd, HorizontalAmount, NativeMethods.
SB_HORZ
, fForceResults);
83
return Scrollable (hwnd, NativeMethods.
SB_HORZ
) ? GetScrollInfo (hwnd, NativeMethods.
SB_HORZ
) : ScrollPattern.NoScroll;
91
return Scrollable (hwnd, NativeMethods.
SB_HORZ
) ? ScrollViewSize (hwnd, NativeMethods.
SB_HORZ
) : 100.0;
99
return Scrollable (hwnd, NativeMethods.
SB_HORZ
);
114
if ((sbFlag == NativeMethods.
SB_HORZ
&& !Misc.IsBitSet(style, NativeMethods.WS_HSCROLL)) ||
175
return Scrollable(hwnd, NativeMethods.
SB_HORZ
) || Scrollable(hwnd, NativeMethods.SB_VERT);
284
throw new ArgumentOutOfRangeException(sbFlag == NativeMethods.
SB_HORZ
? "horizontalPercent" : "verticalPercent", SR.ScrollBarOutOfRange);
317
int message = sbFlag == NativeMethods.
SB_HORZ
? NativeMethods.WM_HSCROLL : NativeMethods.WM_VSCROLL;
382
if (sbFlag == NativeMethods.
SB_HORZ
)
433
int message = sbFlag == NativeMethods.
SB_HORZ
? NativeMethods.WM_HSCROLL : NativeMethods.WM_VSCROLL;
MS\Internal\AutomationProxies\WindowsScrollBar.cs (5)
141
int idObject = _sbFlag == NativeMethods.SB_VERT ? NativeMethods.OBJID_VSCROLL : _sbFlag == NativeMethods.
SB_HORZ
? NativeMethods.OBJID_HSCROLL : NativeMethods.OBJID_CLIENT;
447
int idObject = sbFlag == NativeMethods.SB_VERT ? NativeMethods.OBJID_VSCROLL : sbFlag == NativeMethods.
SB_HORZ
? NativeMethods.OBJID_HSCROLL : NativeMethods.OBJID_CLIENT;
589
if ((Environment.OSVersion.Version.Major < 6) && (_sbFlag == NativeMethods.
SB_HORZ
) && (Misc.IsControlRTL(_parent._hwnd)))
713
int idObject = sbFlag == NativeMethods.SB_VERT ? NativeMethods.OBJID_VSCROLL : sbFlag == NativeMethods.
SB_HORZ
? NativeMethods.OBJID_HSCROLL : NativeMethods.OBJID_CLIENT;
737
else if (_sbFlag == NativeMethods.
SB_HORZ
)
MS\Internal\AutomationProxies\WindowsScrollBarBits.cs (1)
222
int idObject = sbFlag == NativeMethods.SB_VERT ? NativeMethods.OBJID_VSCROLL : sbFlag == NativeMethods.
SB_HORZ
? NativeMethods.OBJID_HSCROLL : NativeMethods.OBJID_CLIENT;