[idd] helper: add notification icon

This commit is contained in:
Quantum
2025-09-13 15:44:47 -04:00
committed by Geoffrey McRae
parent 94550e09b4
commit 67e1574d20
2 changed files with 44 additions and 2 deletions

View File

@@ -8,13 +8,19 @@
class CWindow {
static ATOM s_atom;
static UINT s_taskbarCreated;
static LRESULT CALLBACK wndProc(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam);
HWND m_hwnd = NULL;
NOTIFYICONDATA m_iconData;
LRESULT handleMessage(UINT uMsg, WPARAM wParam, LPARAM lParam);
LRESULT onCreate();
void registerIcon();
public:
static bool registerClass();
CWindow();
~CWindow();
HWND hwnd() { return m_hwnd; }
};