Scope
AreaChooseDlg.h
1 #pragma once
2 #include "../resource.h"
3 
4 namespace scope {
5  namespace gui {
6 
9  : public CDialogImpl<CAreaChooseDlg> {
10 
11 protected:
13  std::array<CButton, 4> buttons;
14 
15 public:
16  enum { IDD = IDD_AREACHOOSE };
17 
18  BEGIN_MSG_MAP(CAreaChooseDlg)
19  MESSAGE_HANDLER(WM_INITDIALOG, OnInitDialog)
20  COMMAND_ID_HANDLER(IDC_AREA1, OnCloseCmd)
21  COMMAND_ID_HANDLER(IDC_AREA2, OnCloseCmd)
22  COMMAND_ID_HANDLER(IDC_AREA3, OnCloseCmd)
23  COMMAND_ID_HANDLER(IDC_AREA4, OnCloseCmd)
24  END_MSG_MAP()
25 
29  LRESULT OnInitDialog(UINT /*uMsg*/, WPARAM /*wParam*/, LPARAM /*lParam*/, BOOL& /*bHandled*/);
30 
32  LRESULT OnCloseCmd(WORD /*wNotifyCode*/, WORD wID, HWND /*hWndCtl*/, BOOL& /*bHandled*/);
34 };
35 
36 }}
Simple dialog for choosing an area.
Definition: AreaChooseDlg.h:8
LRESULT OnCloseCmd(WORD, WORD wID, HWND, BOOL &)
LRESULT OnInitDialog(UINT, WPARAM, LPARAM, BOOL &)
Initializes the dialog.
std::array< CButton, 4 > buttons
buttons for area choosing
Definition: AreaChooseDlg.h:13