PowerToys/src/modules/fancyzones/FancyZonesLib/SecondaryMouseButtonsHook.h

17 lines
328 B
C
Raw Normal View History

#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);
};