mirror of
https://github.com/Blinue/Magpie.git
synced 2026-06-24 02:04:10 +00:00
* feat(tool): Kirikiri 模拟添加弹窗 * fix: 禁止同一进程内类名相同的窗口打断缩放 * fix: 正在缩放窗口时禁止自动缩放它的弹窗 * fix: 增加两个窗口位于同一进程的条件 * chore: 添加注释
22 lines
516 B
C++
22 lines
516 B
C++
#pragma once
|
|
#include "WindowBase.h"
|
|
|
|
class PopupHostWindow : public WindowBaseT<PopupHostWindow> {
|
|
using base_type = WindowBaseT<PopupHostWindow>;
|
|
friend base_type;
|
|
|
|
public:
|
|
bool Create() noexcept;
|
|
|
|
private:
|
|
static LRESULT CALLBACK _Popup2WndProc(HWND hWnd, UINT msg, WPARAM wParam, LPARAM lParam);
|
|
|
|
LRESULT _MessageHandler(UINT msg, WPARAM wParam, LPARAM lParam) noexcept;
|
|
|
|
void _UpdateButtonPos() noexcept;
|
|
|
|
HWND _hwndBtn1 = NULL;
|
|
HWND _hwndBtn2 = NULL;
|
|
HWND _hwndBtn3 = NULL;
|
|
HWND _hwndBtn4 = NULL;
|
|
};
|