[idd] helper: add simple static widget implementation

This commit is contained in:
Quantum
2025-09-15 03:56:26 -04:00
committed by Geoffrey McRae
parent 042450a708
commit 85e728b59e
7 changed files with 75 additions and 0 deletions

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)