mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-04 18:26:39 +02:00
* Changed option name in settings, changed behaviour of zones activation by mouse to switch * Removed IsDragEnabled from ZoneWindow
17 lines
328 B
C++
17 lines
328 B
C++
#pragma once
|
|
|
|
#include <functional>
|
|
|
|
class SecondaryMouseButtonsHook
|
|
{
|
|
public:
|
|
SecondaryMouseButtonsHook(std::function<void()>);
|
|
void enable();
|
|
void disable();
|
|
|
|
private:
|
|
static HHOOK hHook;
|
|
static std::function<void()> callback;
|
|
static LRESULT CALLBACK SecondaryMouseButtonsProc(int, WPARAM, LPARAM);
|
|
};
|