forked from dnSpy/dnSpy
-
-
Notifications
You must be signed in to change notification settings - Fork 454
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add SnapLayout Options support for Win11 (#345)
- Loading branch information
Showing
4 changed files
with
645 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
18 changes: 18 additions & 0 deletions
18
dnSpy/dnSpy/Lib/EleCho.WpfSuite/Utilities/WindowOption.NativeMethods.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
using System; | ||
using System.Runtime.InteropServices; | ||
|
||
namespace EleCho.WpfSuite { | ||
public partial class WindowOption { | ||
internal static class NativeDefinition { | ||
public const nint WM_NCHITTEST = 0x0084; | ||
public const nint WM_NCMOUSELEAVE = 0x02A2; | ||
public const nint WM_NCLBUTTONDOWN = 0x00A1; | ||
public const nint WM_NCLBUTTONUP = 0x00A2; | ||
public const nint WM_MOUSEMOVE = 0x0200; | ||
|
||
public const nint HTCLOSE = 20; | ||
public const nint HTMAXBUTTON = 9; | ||
public const nint HTMINBUTTON = 8; | ||
} | ||
} | ||
} |
Oops, something went wrong.