mirror of
https://github.com/gnif/LookingGlass.git
synced 2026-01-18 17:52:30 +00:00
[idd] helper: add basic group box around mode config
This commit is contained in:
10
idd/LGIddHelper/CGroupBox.cpp
Normal file
10
idd/LGIddHelper/CGroupBox.cpp
Normal file
@@ -0,0 +1,10 @@
|
||||
#include "CGroupBox.h"
|
||||
#include <commctrl.h>
|
||||
#include <CDebug.h>
|
||||
|
||||
CGroupBox::CGroupBox(LPCWSTR title, DWORD style, HWND parent)
|
||||
{
|
||||
m_hwnd = createWindowSimple(WC_BUTTON, title, style | BS_GROUPBOX, parent);
|
||||
if (!m_hwnd)
|
||||
DEBUG_ERROR_HR(GetLastError(), "Failed to create static widget");
|
||||
}
|
||||
Reference in New Issue
Block a user