[idd] helper: add basic group box around mode config
This commit is contained in:
1 parent
7a3833782c
commit
ab6e2c89d5
6 files changed
+39
-3
No files matched your search
@@ -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