mirror of
https://github.com/gnif/LookingGlass.git
synced 2025-11-18 07:52:20 +00:00
18 lines
320 B
C++
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; }
|
|
};
|