-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDMModifyValueDialog.h
More file actions
86 lines (73 loc) · 2.36 KB
/
Copy pathDMModifyValueDialog.h
File metadata and controls
86 lines (73 loc) · 2.36 KB
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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
#include "afxwin.h"
#if !defined(AFX_DMMODIFYVALUEDIALOG_H__1E3C846D_878E_49EC_81D5_DBF9DA9C48B3__INCLUDED_)
#define AFX_DMMODIFYVALUEDIALOG_H__1E3C846D_878E_49EC_81D5_DBF9DA9C48B3__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// DMModifyValueDialog.h : header file
//
void ModifyValue(int *_pnModifyValue, char *szLabel, LONG lAllValue, BOOL bAllowNegative = TRUE, BOOL bAddValue = TRUE, BOOL *pbMultiplier = NULL);
/////////////////////////////////////////////////////////////////////////////
// DMModifyValueDialog dialog
class DMModifyValueDialog : public CDialog
{
// Construction
public:
DMModifyValueDialog(int *_pnModifyValue, char *szLabel, LONG lAllValue, BOOL bAllowNegative = TRUE, BOOL bAddValue = TRUE, BOOL *pbMultiplier = NULL, CWnd* pParent = NULL); // standard constructor
int *m_pnModifyValue;
CString m_szLabel;
BOOL m_bAllowNegative;
BOOL m_bAddValue;
LONG m_lAllValue;
BOOL *m_pbMultiplier;
// Dialog Data
//{{AFX_DATA(DMModifyValueDialog)
enum { IDD = IDD_MOD_VALUE_DIALOG };
CButton m_cSubtractButton;
CString m_szAddEdit;
//}}AFX_DATA
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(DMModifyValueDialog)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
// Generated message map functions
//{{AFX_MSG(DMModifyValueDialog)
virtual BOOL OnInitDialog();
virtual void OnOK();
virtual void OnCancel();
afx_msg void OnChange();
afx_msg void OnButton1();
afx_msg void OnButton2();
afx_msg void OnButton3();
afx_msg void OnButton4();
afx_msg void OnButton5();
afx_msg void OnButton6();
afx_msg void OnButton7();
afx_msg void OnButton8();
afx_msg void OnButton9();
afx_msg void OnButton10();
afx_msg void OnButtonBack();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
public:
CButton m_cOKButton;
afx_msg void OnBnClickedButtonAll();
CButton m_cAllButton;
CButton m_cX1Check;
CButton m_cX2Check;
CButton m_cX3Check;
BOOL m_bX1Check;
BOOL m_bX2Check;
BOOL m_bX3Check;
afx_msg void OnBnClickedX1Check();
afx_msg void OnBnClickedX2Check();
afx_msg void OnBnClickedX3Check();
CStatic m_cSwordIcon;
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_DMMODIFYVALUEDIALOG_H__1E3C846D_878E_49EC_81D5_DBF9DA9C48B3__INCLUDED_)