Files
LookingGlass/idd/LGIddHelper/CWidget.h
Geoffrey McRae e9b7bdfea1 Revert "[all] refresh copyright"
Corrupted IDD sources due to lack of UTF-8 with BOM support in the
script.
2026-05-31 15:10:44 +10:00

18 lines
320 B
C++

#pragma once
#include <windows.h>
class CWidget {
protected:
HWND m_hwnd = NULL;
HWND createWindowSimple(LPCWSTR cls, LPCWSTR title, DWORD style, HWND parent, DWORD dwExStyle = 0);
public:
virtual ~CWidget();
void destroy();
HWND hwnd() { return m_hwnd; }
operator HWND() const { return m_hwnd; }
};