Merge branch 'dev/crutkas/testWinApp1.6' of https://github.com/microsoft/powertoys into dev/crutkas/testWinApp1.6
This commit is contained in:
Коммит
5ff9a7957a
|
@ -56,7 +56,7 @@ namespace MeasureToolUI
|
|||
this.SetIsMaximizable(false);
|
||||
IsTitleBarVisible = false;
|
||||
|
||||
// Remove the caption style from the window style. Windows App SDK 1.6 upgraded added it, which made the title bar and borders appear for Measure Tool. This code removes it.
|
||||
// Remove the caption style from the window style. Windows App SDK 1.6 added it, which made the title bar and borders appear for Measure Tool. This code removes it.
|
||||
var windowStyle = GetWindowLong(hwnd, GWL_STYLE);
|
||||
windowStyle = windowStyle & (~WS_CAPTION);
|
||||
_ = SetWindowLong(hwnd, GWL_STYLE, windowStyle);
|
||||
|
|
Загрузка…
Ссылка в новой задаче