This repository has been archived by the owner on Apr 25, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added --No-Titlebar and --Always-On-Top command-line arguments.
Potentially fixed a bug with Inventory display.
- Loading branch information
1 parent
a682317
commit 3e47684
Showing
9 changed files
with
103 additions
and
19 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
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
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,23 @@ | ||
using System; | ||
using System.Runtime.InteropServices; | ||
|
||
namespace RE2REmakeSRT | ||
{ | ||
public static class PInvoke | ||
{ | ||
private const int WM_NCLBUTTONDOWN = 0xA1; | ||
private const int HT_CAPTION = 0x2; | ||
|
||
[DllImportAttribute("user32.dll")] | ||
private static extern int SendMessage(IntPtr hWnd, int Msg, int wParam, int lParam); | ||
|
||
[DllImportAttribute("user32.dll")] | ||
private static extern bool ReleaseCapture(); | ||
|
||
public static void DragControl(IntPtr controlHandle) | ||
{ | ||
ReleaseCapture(); | ||
SendMessage(controlHandle, WM_NCLBUTTONDOWN, HT_CAPTION, 0); | ||
} | ||
} | ||
} |
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
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
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
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