mirror of
https://github.com/gnif/LookingGlass.git
synced 2025-10-11 09:58:10 +00:00
19 lines
327 B
C++
19 lines
327 B
C++
#pragma once
|
|
|
|
#define WIN32_LEAN_AND_MEAN
|
|
#include <windows.h>
|
|
|
|
class CWidget {
|
|
protected:
|
|
HWND m_hwnd = NULL;
|
|
|
|
HWND createWindowSimple(LPCWSTR cls, LPCWSTR title, DWORD style, HWND parent);
|
|
|
|
public:
|
|
virtual ~CWidget();
|
|
void destroy();
|
|
|
|
HWND hwnd() { return m_hwnd; }
|
|
operator HWND() const { return m_hwnd; }
|
|
};
|