mirror of
https://github.com/microsoft/PowerToys.git
synced 2024-12-20 06:47:56 +08:00
c93eb92cd0
* rename dll -> FancyZonesModuleInterface (#11488) * [FancyZones] Rename "fancyzones/tests" -> "fancyzones/FancyZonesTests" (#11492) * [FancyZones] Rename "fancyzones/lib" -> "fancyzones/FancyZonesLib" (#11489) * [FancyZones] New FancyZones project. (#11544) * [FancyZones] Allow single instance of "PowerToys.FancyZones.exe" (#11558) * [FancyZones] Updated bug reports (#11571) * [FancyZones] Updated installer (#11572) * [FancyZones] Update string resources (#11596) * [FancyZones] Terminate FancyZones with runner (#11696) * [FancyZones] Drop support for the module interface API to save settings (#11661) * Settings telemetry for FancyZones (#11766) * commented out test * enable dpi awareness for the process
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);
|
|
};
|