Merge branch 'dev/crutkas/testWinApp1.6' of https://github.com/microsoft/powertoys into dev/crutkas/testWinApp1.6

This commit is contained in:
Clint Rutkas 2024-09-06 20:36:25 -07:00
Родитель 4109ac7b96 2231e8014a
Коммит 5ff9a7957a
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -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);