Magpie/tools/WindowCase/HungWindow.h
Xu ae0c914c5c
修复有时误报源窗口无响应 (#1252)
* fix: 尝试修复错误检测源窗口挂起

* fix: 修复消息弹窗 bug
2025-08-14 22:36:28 +08:00

19 lines
385 B
C++

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