⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 impsnativemethods.cs

📁 破解的飞信源代码
💻 CS
字号:
namespace Imps.Client.Pc.Controls
{
    using System;
    using System.Runtime.InteropServices;

    public class ImpsNativeMethods
    {
        public static readonly IntPtr HWND_TOPMOST = new IntPtr(-1);
        public const int SWP_NOACTIVATE = 0x10;
        public const int SWP_NOMOVE = 2;
        public const int SWP_NOSIZE = 1;
        public const int SWP_NOZORDER = 4;
        public const string TOOLTIPS_CLASS = "tooltips_class32";
        public const int TTF_ABSOLUTE = 0x80;
        public const int TTF_CENTERTIP = 2;
        public const int TTF_IDISHWND = 1;
        public const int TTF_PARSELINKS = 0x1000;
        public const int TTF_SUBCLASS = 0x10;
        public const int TTF_TRACK = 0x20;
        public const int TTF_TRANSPARENT = 0x100;
        public const int TTM_ADDTOOL = 0x432;
        public const int TTM_SETMAXTIPWIDTH = 0x418;
        public const int TTM_SETTITLE = 0x421;
        public const int TTM_TRACKACTIVATE = 0x411;
        public const int TTM_TRACKPOSITION = 0x412;
        public const int TTS_ALWAYSTIP = 1;
        public const int TTS_BALLOON = 0x40;
        public const int TTS_CLOSE = 0x80;
        public const int TTS_NOPREFIX = 2;
        public const int WM_USER = 0x400;
        public const int WS_POPUP = -2147483648;

        [DllImport("User32", SetLastError=true)]
        public static extern int ClientToScreen(IntPtr hWnd, ref RECT lpRect);
        [DllImport("User32", SetLastError=true)]
        public static extern int GetClientRect(IntPtr hWnd, ref RECT lpRect);
        public static int MAKELONG(int loWord, int hiWord)
        {
            return ((hiWord << 0x10) | (loWord & 0xffff));
        }

        [DllImport("User32", SetLastError=true)]
        public static extern int SendMessage(IntPtr hWnd, int Msg, int wParam, IntPtr lParam);
        [DllImport("User32", SetLastError=true)]
        public static extern int SetWindowPos(IntPtr hWnd, IntPtr hWndInsertAfter, int X, int Y, int cx, int cy, int uFlags);
    }
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -