#pragma once #include class SecondaryMouseButtonsHook { public: SecondaryMouseButtonsHook(std::function); void enable(); void disable(); private: static HHOOK hHook; static std::function callback; static LRESULT CALLBACK SecondaryMouseButtonsProc(int, WPARAM, LPARAM); };