Magpie/tools/WindowCase/HideCursorWindow.h
Xu 74d26e4a0d
正在缩放窗口时禁止自动缩放它的弹窗 (#1276)
* feat(tool): Kirikiri 模拟添加弹窗

* fix: 禁止同一进程内类名相同的窗口打断缩放

* fix: 正在缩放窗口时禁止自动缩放它的弹窗

* fix: 增加两个窗口位于同一进程的条件

* chore: 添加注释
2025-08-26 20:02:26 +08:00

18 lines
384 B
C++

#pragma once
#include "WindowBase.h"
class HideCursorWindow : public WindowBaseT<HideCursorWindow> {
using base_type = WindowBaseT<HideCursorWindow>;
friend base_type;
public:
bool Create() noexcept;
private:
LRESULT _MessageHandler(UINT msg, WPARAM wParam, LPARAM lParam) noexcept;
void _UpdateButtonPos() noexcept;
HWND _hwndBtn = NULL;
bool _isCursorHidden = false;
};