[idd] helper: add simple static widget implementation

This commit is contained in:
Quantum authored and Geoffrey McRae committed 2025-09-17 18:05:00 +10:00
1 parent 042450a708
commit 85e728b59e
7 files changed
+75

No files matched your search

+3
View File
@@ -2,6 +2,7 @@
#include <CDebug.h>
#include <windowsx.h>
#include <strsafe.h>
#include "VersionInfo.h"
ATOM CConfigWindow::s_atom = 0;
@@ -24,6 +25,8 @@ CConfigWindow::CConfigWindow()
{
DEBUG_ERROR_HR(GetLastError(), "Failed to create window");
}
m_version.reset(new CStaticWidget(L"Looking Glass IDD " LG_VERSION_STR, WS_CHILD | WS_VISIBLE | SS_CENTERIMAGE, m_hwnd));
}
LRESULT CConfigWindow::handleMessage(UINT uMsg, WPARAM wParam, LPARAM lParam)