mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-07-08 11:29:58 +02:00
Re-creation of #46817 from an internal branch to work around stale code-scanning merge protection. ## Original PR See #46817 for full context, discussion, and review history. ## Summary This adds a new toy, GrabAndMove (previously WinPos), that allows dragging (left click) or resizing (right click) of windows while the Alt key is pressed. Closes: #269 ## PR Checklist - [x] Communication: discussed with core contributors - [ ] Tests: Added/updated and all pass - [ ] Localization: All end-user-facing strings can be localized - [ ] Dev docs: Added/updated --------- Co-authored-by: foxmsft <foxmsft@hotmail.com> Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Co-authored-by: Muyuan Li (from Dev Box) <muyuanli@microsoft.com> Co-authored-by: Niels Laute <niels.laute@live.nl> Co-authored-by: Alex Mihaiuc <amihaiuc@microsoft.com>
16 lines
308 B
C++
16 lines
308 B
C++
#pragma once
|
|
|
|
#include <windows.h>
|
|
#include <TraceLoggingActivity.h>
|
|
#include <common/telemetry/ProjectTelemetry.h>
|
|
|
|
TRACELOGGING_DECLARE_PROVIDER(g_hProvider);
|
|
|
|
class Trace
|
|
{
|
|
public:
|
|
static void RegisterProvider();
|
|
static void UnregisterProvider();
|
|
static void Enable(bool enabled) noexcept;
|
|
};
|