51 references to SCROLLBAR_CONSTANTS
System.Windows.Forms (16)
System\Windows\Forms\Control.cs (1)
7493
if (PInvoke.GetScrollInfo(this,
SCROLLBAR_CONSTANTS
.SB_HORZ, ref si))
System\Windows\Forms\Controls\ListView\ListView.cs (1)
2204
if (PInvoke.GetScrollInfo(this,
SCROLLBAR_CONSTANTS
.SB_HORZ, ref si))
System\Windows\Forms\Controls\TreeView\TreeView.cs (1)
2741
if (PInvoke.GetScrollInfo(this,
SCROLLBAR_CONSTANTS
.SB_HORZ, ref si))
System\Windows\Forms\Scrolling\HScrollBar.cs (1)
18
cp.Style |= (int)
SCROLLBAR_CONSTANTS
.SB_HORZ;
System\Windows\Forms\Scrolling\HScrollProperties.cs (2)
17
private protected override
SCROLLBAR_CONSTANTS
Orientation =>
SCROLLBAR_CONSTANTS
.SB_HORZ;
System\Windows\Forms\Scrolling\ScrollableControl.cs (3)
896
private unsafe int ScrollThumbPosition(
SCROLLBAR_CONSTANTS
fnBar)
1273
pos = ScrollThumbPosition(
SCROLLBAR_CONSTANTS
.SB_VERT);
1367
pos = ScrollThumbPosition(
SCROLLBAR_CONSTANTS
.SB_HORZ);
System\Windows\Forms\Scrolling\ScrollBar.cs (3)
40
_scrollOrientation = (CreateParams.Style & (int)
SCROLLBAR_CONSTANTS
.SB_VERT) != 0
617
PInvoke.SetScrollInfo(this,
SCROLLBAR_CONSTANTS
.SB_CTL, ref si, true);
699
PInvoke.GetScrollInfo(this,
SCROLLBAR_CONSTANTS
.SB_CTL, ref si);
System\Windows\Forms\Scrolling\ScrollProperties.cs (1)
171
private protected abstract
SCROLLBAR_CONSTANTS
Orientation { get; }
System\Windows\Forms\Scrolling\VScrollBar.cs (1)
22
cp.Style |= (int)
SCROLLBAR_CONSTANTS
.SB_VERT;
System\Windows\Forms\Scrolling\VScrollProperties.cs (2)
17
private protected override
SCROLLBAR_CONSTANTS
Orientation =>
SCROLLBAR_CONSTANTS
.SB_VERT;
System.Windows.Forms.Primitives (16)
Windows.Win32.PInvoke.USER32.dll.g.cs (9)
1790
/// <inheritdoc cref="GetScrollInfo(winmdroot.Foundation.HWND, winmdroot.UI.WindowsAndMessaging.
SCROLLBAR_CONSTANTS
, winmdroot.UI.WindowsAndMessaging.SCROLLINFO*)"/>
1792
internal static unsafe winmdroot.Foundation.BOOL GetScrollInfo(winmdroot.Foundation.HWND hwnd, winmdroot.UI.WindowsAndMessaging.
SCROLLBAR_CONSTANTS
nBar, ref winmdroot.UI.WindowsAndMessaging.SCROLLINFO lpsi)
1821
internal static unsafe winmdroot.Foundation.BOOL GetScrollInfo(winmdroot.Foundation.HWND hwnd, winmdroot.UI.WindowsAndMessaging.
SCROLLBAR_CONSTANTS
nBar, winmdroot.UI.WindowsAndMessaging.SCROLLINFO* lpsi)
1829
static extern unsafe winmdroot.Foundation.BOOL LocalExternFunction(winmdroot.Foundation.HWND hwnd, winmdroot.UI.WindowsAndMessaging.
SCROLLBAR_CONSTANTS
nBar, winmdroot.UI.WindowsAndMessaging.SCROLLINFO* lpsi);
3295
/// <inheritdoc cref="SetScrollInfo(winmdroot.Foundation.HWND, winmdroot.UI.WindowsAndMessaging.
SCROLLBAR_CONSTANTS
, winmdroot.UI.WindowsAndMessaging.SCROLLINFO*, winmdroot.Foundation.BOOL)"/>
3297
internal static unsafe int SetScrollInfo(winmdroot.Foundation.HWND hwnd, winmdroot.UI.WindowsAndMessaging.
SCROLLBAR_CONSTANTS
nBar, in winmdroot.UI.WindowsAndMessaging.SCROLLINFO lpsi, winmdroot.Foundation.BOOL redraw)
3329
internal static extern unsafe int SetScrollInfo(winmdroot.Foundation.HWND hwnd, winmdroot.UI.WindowsAndMessaging.
SCROLLBAR_CONSTANTS
nBar, winmdroot.UI.WindowsAndMessaging.SCROLLINFO* lpsi, winmdroot.Foundation.BOOL redraw);
3354
internal static int SetScrollPos(winmdroot.Foundation.HWND hWnd, winmdroot.UI.WindowsAndMessaging.
SCROLLBAR_CONSTANTS
nBar, int nPos, winmdroot.Foundation.BOOL bRedraw)
3362
static extern int LocalExternFunction(winmdroot.Foundation.HWND hWnd, winmdroot.UI.WindowsAndMessaging.
SCROLLBAR_CONSTANTS
nBar, int nPos, winmdroot.Foundation.BOOL bRedraw);
Windows\Win32\PInvoke.EnableScrollBar.cs (1)
9
public static BOOL EnableScrollBar<T>(T hWnd,
SCROLLBAR_CONSTANTS
wSBflags, ENABLE_SCROLL_BAR_ARROWS wArrows)
Windows\Win32\PInvoke.GetScrollInfo.cs (2)
8
/// <inheritdoc cref="GetScrollInfo(HWND,
SCROLLBAR_CONSTANTS
, ref SCROLLINFO)"/>
9
public static BOOL GetScrollInfo<T>(T hwnd,
SCROLLBAR_CONSTANTS
nBar, ref SCROLLINFO lpsi)
Windows\Win32\PInvoke.SetScrollInfo.cs (2)
8
/// <inheritdoc cref="SetScrollInfo(HWND,
SCROLLBAR_CONSTANTS
, in SCROLLINFO, BOOL)"/>
9
public static int SetScrollInfo<T>(T hWnd,
SCROLLBAR_CONSTANTS
nBar, ref SCROLLINFO lpsi, BOOL redraw)
Windows\Win32\PInvoke.SetScrollPos.cs (2)
8
/// <inheritdoc cref="SetScrollPos(HWND,
SCROLLBAR_CONSTANTS
, int, BOOL)"/>
9
public static int SetScrollPos<T>(T hWnd,
SCROLLBAR_CONSTANTS
nBar, int nPos, BOOL bRedraw)
System.Windows.Forms.Tests (19)
System\Windows\Forms\ScrollBarTests.cs (19)
440
Assert.True(PInvoke.GetScrollInfo(control.HWND,
SCROLLBAR_CONSTANTS
.SB_CTL, ref si));
617
Assert.True(PInvoke.GetScrollInfo((HWND)control.Handle,
SCROLLBAR_CONSTANTS
.SB_CTL, ref si));
747
Assert.True(PInvoke.GetScrollInfo((HWND)control.Handle,
SCROLLBAR_CONSTANTS
.SB_CTL, ref si));
762
Assert.True(PInvoke.GetScrollInfo((HWND)control.Handle,
SCROLLBAR_CONSTANTS
.SB_CTL, ref si));
797
Assert.True(PInvoke.GetScrollInfo((HWND)control.Handle,
SCROLLBAR_CONSTANTS
.SB_CTL, ref si));
812
Assert.True(PInvoke.GetScrollInfo((HWND)control.Handle,
SCROLLBAR_CONSTANTS
.SB_CTL, ref si));
883
Assert.True(PInvoke.GetScrollInfo((HWND)control.Handle,
SCROLLBAR_CONSTANTS
.SB_CTL, ref si));
905
Assert.True(PInvoke.GetScrollInfo((HWND)control.Handle,
SCROLLBAR_CONSTANTS
.SB_CTL, ref si));
946
Assert.True(PInvoke.GetScrollInfo((HWND)control.Handle,
SCROLLBAR_CONSTANTS
.SB_CTL, ref si));
969
Assert.True(PInvoke.GetScrollInfo((HWND)control.Handle,
SCROLLBAR_CONSTANTS
.SB_CTL, ref si));
1069
Assert.True(PInvoke.GetScrollInfo((HWND)control.Handle,
SCROLLBAR_CONSTANTS
.SB_CTL, ref si));
1091
Assert.True(PInvoke.GetScrollInfo((HWND)control.Handle,
SCROLLBAR_CONSTANTS
.SB_CTL, ref si));
1132
Assert.True(PInvoke.GetScrollInfo((HWND)control.Handle,
SCROLLBAR_CONSTANTS
.SB_CTL, ref si));
1154
Assert.True(PInvoke.GetScrollInfo((HWND)control.Handle,
SCROLLBAR_CONSTANTS
.SB_CTL, ref si));
1614
Assert.True(PInvoke.GetScrollInfo((HWND)control.Handle,
SCROLLBAR_CONSTANTS
.SB_CTL, ref si));
1636
Assert.True(PInvoke.GetScrollInfo((HWND)control.Handle,
SCROLLBAR_CONSTANTS
.SB_CTL, ref si));
1678
Assert.True(PInvoke.GetScrollInfo((HWND)control.Handle,
SCROLLBAR_CONSTANTS
.SB_CTL, ref si));
1700
Assert.True(PInvoke.GetScrollInfo((HWND)control.Handle,
SCROLLBAR_CONSTANTS
.SB_CTL, ref si));
3152
cp.Style |= (int)
SCROLLBAR_CONSTANTS
.SB_VERT;