Magpie/tools/WindowCase/TopmostWindow.h
2025-08-11 17:17:57 +08:00

18 lines
383 B
C++

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