RCM/cInternalScrollBar.cs
(开头部分) 40KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
namespace RCM
{
#region Directives
using System;
using System.Windows.Forms;
using System.Runtime.InteropServices;
using System.Drawing;
using System.Text;
using System.Reflection;
#endregion
public class cInternalScrollBar : NativeWindow, IDisposable
{
#region Constants
// style
private const int GWL_STYLE = (-16);
private const int GWL_EXSTYLE = (-20);
private const int WS_EX_TOPMOST = 0x8;
private const int WS_EX_TOOLWINDOW = 0x80;
private const int WS_CHILD = 0x40000000;
private const int WS_OVERLAPPED = 0x0;
private const int WS_CLIPSIBLINGS = 0x4000000;
private const int WS_VISIBLE = 0x10000000;
private const int WS_HSCROLL = 0x100000;
private const int WS_VSCROLL = 0x200000;
private const int SS_OWNERDRAW = 0xD;
// showwindow
private const int SW_HIDE = 0x0;
private const int SW_NORMAL = 0x1;
// size/move
private const uint SWP_NOSIZE = 0x0001;
private const uint SWP_NOMOVE = 0x0002;
private const uint SWP_NOZORDER = 0x0004;
private const uint SWP_NOREDRAW = 0x0008;
private const uint SWP_NOACTIVATE = 0x0010;
private const uint SWP_FRAMECHANGED = 0x0020;
private const uint SWP_SHOWWINDOW = 0x0040;
private const uint SWP_HIDEWINDOW = 0x0080;
private const uint SWP_NOCOPYBITS = 0x0100;
private const uint SWP_NOOWNERZORDER = 0x0200;
private const uint SWP_NOSENDCHANGING = 0x0400;
// setwindowpos
static readonly IntPtr HWND_NOTOPMOST = new IntPtr(-2);
static readonly IntPtr HWND_TOPMOST = new IntPtr(-1);
static readonly IntPtr HWND_TOP = new IntPtr(0);
static readonly IntPtr HWND_BOTTOM = new IntPtr(1);
// scroll messages
private const int WM_HSCROLL = 0x114;
private const int WM_VSCROLL = 0x115;
private const int SB_LINEUP = 0;
private const int SB_LINEDOWN = 1;
private const int SB_LINELEFT = 0;
private const int SB_LINERIGHT = 1;
private const int SB_PAGEUP = 2;
private const int SB_PAGEDOWN = 3;
private const int SB_PAGELEFT = 2;
private const int SB_PAGERIGHT = 3;
// mouse buttons
private const int VK_LBUTTON = 0x1;
private const int VK_RBUTTON = 0x2;
后面还有 986 行代码,解锁后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。