From 6803b8cf4a44ecdbbed24cbe1213d91e1fd8dcb1 Mon Sep 17 00:00:00 2001 From: ww-rm Date: Sun, 20 Apr 2025 12:42:02 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E8=B0=83=E8=AF=95=E8=BE=93?= =?UTF-8?q?=E5=87=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- SpineViewer/Natives/Win32.cs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/SpineViewer/Natives/Win32.cs b/SpineViewer/Natives/Win32.cs index 460cac8..d86f0b5 100644 --- a/SpineViewer/Natives/Win32.cs +++ b/SpineViewer/Natives/Win32.cs @@ -17,6 +17,8 @@ namespace SpineViewer.Natives public const int GWL_STYLE = -16; public const int WS_SIZEBOX = 0x40000; public const int WS_BORDER = 0x800000; + public const int WS_VISIBLE = 0x10000000; + public const int WS_CHILD = 0x40000000; public const int WS_POPUP = unchecked((int)0x80000000); public const int GWL_EXSTYLE = -20; @@ -170,7 +172,7 @@ namespace SpineViewer.Natives if (progman == nint.Zero) return nint.Zero; nint hWnd = FindWindowEx(progman, 0, "WorkerW", null); - Debug.WriteLine($"{hWnd:x8}"); + Debug.WriteLine($"HWND(Progman.WorkerW): {hWnd:x8}"); return hWnd; } }