mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-06 03:07:04 +02:00
32 lines
1.0 KiB
C++
32 lines
1.0 KiB
C++
#pragma once
|
|
|
|
#include <optional>
|
|
|
|
#include <FancyZonesLib/Zone.h>
|
|
|
|
// Zoned window properties are not localized.
|
|
namespace ZonedWindowProperties
|
|
{
|
|
const wchar_t PropertyRestoreSizeID[] = L"FancyZones_RestoreSize";
|
|
const wchar_t PropertyRestoreOriginID[] = L"FancyZones_RestoreOrigin";
|
|
const wchar_t PropertyCornerPreference[] = L"FancyZones_CornerPreference";
|
|
const wchar_t PropertyMovedOnOpening[] = L"FancyZones_MovedOnOpening";
|
|
|
|
const wchar_t MultiMonitorName[] = L"FancyZones";
|
|
const wchar_t MultiMonitorInstance[] = L"MultiMonitorDevice";
|
|
}
|
|
|
|
namespace FancyZonesWindowProperties
|
|
{
|
|
void StampZoneIndexProperty(HWND window, const ZoneIndexSet& zoneSet);
|
|
void RemoveZoneIndexProperty(HWND window);
|
|
ZoneIndexSet RetrieveZoneIndexProperty(HWND window);
|
|
|
|
void StampMovedOnOpeningProperty(HWND window);
|
|
bool RetrieveMovedOnOpeningProperty(HWND window);
|
|
|
|
std::optional<size_t> GetTabSortKeyWithinZone(HWND window);
|
|
void SetTabSortKeyWithinZone(HWND window, std::optional<size_t> tabSortKeyWithinZone);
|
|
}
|
|
|