[idd] helper: implement basic config class

This commit is contained in:
Quantum
2025-09-14 16:04:25 -04:00
committed by Geoffrey McRae
parent 9009217366
commit 042450a708
8 changed files with 119 additions and 8 deletions

View File

@@ -7,11 +7,12 @@
class CWindow {
static LRESULT CALLBACK wndProc(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam);
protected:
virtual LRESULT onCreate();
virtual LRESULT onClose();
virtual LRESULT onDestroy();
virtual LRESULT onFinal();
protected:
static HINSTANCE hInstance;
static void populateWindowClass(WNDCLASSEX &wx);
@@ -24,4 +25,5 @@ public:
void destroy();
HWND hwnd() { return m_hwnd; }
operator HWND() { return m_hwnd; }
};