-
Notifications
You must be signed in to change notification settings - Fork 21
/
OptionsDlg.h
62 lines (54 loc) · 2.02 KB
/
OptionsDlg.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
#pragma once
//////////////////////////////////////////////////////////////////////////
#include "resource.h"
#include "LayoutMgr.h"
#include "Panel.h"
#include <vector>
//{{WTLBUILDER_INCLUDE_DECLARATION
//}}WTLBUILDER_INCLUDE_DECLARATION
//{{WTLBUILDER_CONTROL_ID_DECLARATION
#define IDC_OPTLISTBOX 1008
#define IDC_OPTPANELHOST 1009
#define IDC_COPTIONSDLG_PANEL10 1010
#define IDC_COPTIONSDLG_CODEGENERATION 1011
#define ID_ADD_M_PREFIX 1007
//}}WTLBUILDER_CONTROL_ID_DECLARATION
//typedef std::vector<>
class COptionsDlg:public CResizableDialogImpl<COptionsDlg>
//{{WTLBUILDER_BASE_CLASS
//}}WTLBUILDER_BASE_CLASS
{
CToolTipCtrl m_toolTip;
//{{WTLBUILDER_MEMBER_DECLARATION
CFont m_formFont;
CButton m_ok;
CButton m_cancel;
CListBox m_optListbox;
Panel::CPanelHost m_panelhost;
Panel::CPanel m_panel10;
Panel::CPanel codeGeneration;
CButton m_add_m_prefix;
//}}WTLBUILDER_MEMBER_DECLARATION
void InitLayout(void);
public:
virtual void DefineLayout();
enum { IDD = IDD_NULL };
static const UINT _controlsToClip[];
typedef CResizableDialogImpl<COptionsDlg> thisClass;
BEGIN_MSG_MAP(COptionsDlg)
CHAIN_MSG_MAP(thisClass)
MESSAGE_HANDLER(WM_INITDIALOG, OnInitDialog)
COMMAND_ID_HANDLER(IDOK, OnCloseCmd)
COMMAND_ID_HANDLER(IDCANCEL, OnCloseCmd)
COMMAND_ID_HANDLER(ID_ADD_M_PREFIX, OnM_Prefix)
COMMAND_CODE_HANDLER(LBN_SELCHANGE, OnListBoxChange)
REFLECT_NOTIFICATIONS()
END_MSG_MAP()
COptionsDlg(void);
~COptionsDlg(void);
LRESULT OnInitDialog(UINT /*uMsg*/, WPARAM /*wParam*/, LPARAM /*lParam*/, BOOL& /*bHandled*/);
LRESULT OnCloseCmd(WORD /*wNotifyCode*/, WORD wID, HWND /*hWndCtl*/, BOOL& /*bHandled*/);
LRESULT OnListBoxChange(WORD wNotifyCode, WORD wID, HWND hWndCtl, BOOL& bHandled);
LRESULT OnM_Prefix(WORD /*wNotifyCode*/, WORD wID, HWND /*hWndCtl*/, BOOL& /*bHandled*/);
};
//////////////////////////////////////////////////////////////////////////