You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 13, 2024. It is now read-only.
/// Specifies the size, in bytes, of this structure. The caller must set this to sizeof(SCROLLINFO).
20
+
/// </summary>
21
+
publicuintcbSize;
22
+
/// <summary>
23
+
/// Specifies the scroll bar parameters to set or retrieve.
24
+
/// @see ScrollInfoMask
25
+
/// </summary>
26
+
publicuintfMask;
27
+
/// <summary>
28
+
/// Specifies the minimum scrolling position.
29
+
/// </summary>
30
+
publicintnMin;
31
+
/// <summary>
32
+
/// Specifies the maximum scrolling position.
33
+
/// </summary>
34
+
publicintnMax;
35
+
/// <summary>
36
+
/// Specifies the page size, in device units. A scroll bar uses this value to determine the appropriate size of the proportional scroll box.
37
+
/// </summary>
38
+
publicuintnPage;
39
+
/// <summary>
40
+
/// Specifies the position of the scroll box.
41
+
/// </summary>
42
+
publicintnPos;
43
+
/// <summary>
44
+
/// Specifies the immediate position of a scroll box that the user is dragging.
45
+
/// An application can retrieve this value while processing the SB_THUMBTRACK request code.
46
+
/// An application cannot set the immediate scroll position; the SetScrollInfo function ignores this member.
47
+
/// </summary>
48
+
publicintnTrackPos;
49
+
}
50
+
51
+
/// <summary>
52
+
/// Used for the ScrollInfo fMask
53
+
/// SIF_ALL => Combination of SIF_PAGE, SIF_POS, SIF_RANGE, and SIF_TRACKPOS.
54
+
/// SIF_DISABLENOSCROLL => This value is used only when setting a scroll bar's parameters. If the scroll bar's new parameters make the scroll bar unnecessary, disable the scroll bar instead of removing it.
55
+
/// SIF_PAGE => The nPage member contains the page size for a proportional scroll bar.
56
+
/// SIF_POS => The nPos member contains the scroll box position, which is not updated while the user drags the scroll box.
57
+
/// SIF_RANGE => The nMin and nMax members contain the minimum and maximum values for the scrolling range.
58
+
/// SIF_TRACKPOS => The nTrackPos member contains the current position of the scroll box while the user is dragging it.
59
+
/// </summary>
60
+
publicenumScrollInfoMask
61
+
{
62
+
SIF_RANGE=0x1,
63
+
SIF_PAGE=0x2,
64
+
SIF_POS=0x4,
65
+
SIF_DISABLENOSCROLL=0x8,
66
+
SIF_TRACKPOS=0x10,
67
+
SIF_ALL=SIF_RANGE+SIF_PAGE+SIF_POS+SIF_TRACKPOS
68
+
}
69
+
70
+
/// <summary>
71
+
/// Used for the GetScrollInfo() nBar parameter
72
+
/// </summary>
73
+
publicenumScrollInfoBar
74
+
{
75
+
SB_HORZ=0,
76
+
SB_VERT=1,
77
+
SB_CTL=2,
78
+
SB_BOTH=3
79
+
}
80
+
11
81
/// <summary>
12
82
/// You should try to avoid calling this method in your plugin code. Rather use one of the gateways such as
13
83
/// <see cref="ScintillaGateway"/> or <see cref="NotepadPPGateway"/>.
@@ -229,5 +299,15 @@ public static IntPtr SendMessage(IntPtr hWnd, uint Msg, int wParam, ref LangType
0 commit comments