2 #include "AreaChooseDlg.h"
3 #include "../resource.h"
9 std::array<uint32_t, 4> controls = { IDC_AREA1, IDC_AREA2, IDC_AREA3, IDC_AREA4 };
12 for ( uint32_t a = 0 ; a <
buttons.size() ; a++ )
13 buttons[a].Attach(GetDlgItem(controls[a]));
16 for ( uint32_t a = static_cast<uint32_t>(lParam) ; a <
buttons.size() ; a++ )
22 CenterWindow(GetParent());
LRESULT OnCloseCmd(WORD, WORD wID, HWND, BOOL &)
This is the include file for standard system include files, or project specific include files that ar...
LRESULT OnInitDialog(UINT, WPARAM, LPARAM, BOOL &)
Initializes the dialog.
std::array< CButton, 4 > buttons
buttons for area choosing