Download data/DWSIM.Controls.DockPanel/WinFormsUI/Docking/Win32/NativeMethods.cs from introvoyz041/Dwsim: direct link, hf CLI and curl.
- Browser
- Download file 2.57 kB
-
https://huggingface.co/datasets/introvoyz041/Dwsim/resolve/main/data/DWSIM.Controls.DockPanel/WinFormsUI/Docking/Win32/NativeMethods.cs
- Command line
-
hf download hf://datasets/introvoyz041/Dwsim/data/DWSIM.Controls.DockPanel/WinFormsUI/Docking/Win32/NativeMethods.cs
-
curl -L -o NativeMethods.cs https://huggingface.co/datasets/introvoyz041/Dwsim/resolve/main/data/DWSIM.Controls.DockPanel/WinFormsUI/Docking/Win32/NativeMethods.cs
2.57 kB
| using System; | |
| using System.Drawing; | |
| using System.Runtime.InteropServices; | |
| using System.Diagnostics.CodeAnalysis; | |
| using WeifenLuo.WinFormsUI.Docking.Win32; | |
| namespace WeifenLuo.WinFormsUI.Docking | |
| { | |
| internal static class NativeMethods | |
| { | |
| [] | |
| [] | |
| public static extern bool DragDetect(IntPtr hWnd, Point pt); | |
| [] | |
| public static extern IntPtr GetFocus(); | |
| [] | |
| public static extern IntPtr SetFocus(IntPtr hWnd); | |
| [] | |
| [] | |
| public static extern bool PostMessage(IntPtr hWnd, int Msg, uint wParam, uint lParam); | |
| [] | |
| public static extern uint SendMessage(IntPtr hWnd, int Msg, uint wParam, uint lParam); | |
| [] | |
| public static extern int SetWindowPos(IntPtr hWnd, IntPtr hWndAfter, int X, int Y, int Width, int Height, FlagsSetWindowPos flags); | |
| [] | |
| public static extern int GetWindowLong(IntPtr hWnd, int Index); | |
| [] | |
| public static extern int SetWindowLong(IntPtr hWnd, int Index, int Value); | |
| [] | |
| public static extern int ShowScrollBar(IntPtr hWnd, int wBar, int bShow); | |
| [] | |
| //********************************* | |
| // FxCop bug, suppress the message | |
| //********************************* | |
| [] | |
| public static extern IntPtr WindowFromPoint(Point point); | |
| [] | |
| public static extern int GetCurrentThreadId(); | |
| public delegate IntPtr HookProc(int code, IntPtr wParam, IntPtr lParam); | |
| [] | |
| public static extern IntPtr SetWindowsHookEx(Win32.HookType code, HookProc func, IntPtr hInstance, int threadID); | |
| [] | |
| public static extern int UnhookWindowsHookEx(IntPtr hhook); | |
| [] | |
| public static extern IntPtr CallNextHookEx(IntPtr hhook, int code, IntPtr wParam, IntPtr lParam); | |
| } | |
| } |