-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDMEventLoggerDialog.h
More file actions
57 lines (44 loc) · 1.2 KB
/
Copy pathDMEventLoggerDialog.h
File metadata and controls
57 lines (44 loc) · 1.2 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
#pragma once
#include "afxwin.h"
// CDMEventLoggerDialog dialog
class CDMEventLoggerDialog : public CDialog
{
DECLARE_DYNAMIC(CDMEventLoggerDialog)
public:
CDMEventLoggerDialog(CWnd* pParent = NULL); // standard constructor
virtual ~CDMEventLoggerDialog();
CDMHelperApp *m_pApp;
DMPartyDialog *m_pParentWindow;
DWORD m_dwSelectedCharacterID;
cDNDCharacter *m_pSelectedCharacter;
LONG m_lAmount;
DND_LOG_EVENT_TYPES m_nEventType;
BOOL m_bNeedCharList;
BOOL m_bNeedEventValue;
int m_nInsertPosition;
void Init();
void PopulateCharacterList();
void Refresh();
// Dialog Data
enum { IDD = IDD_EVENT_LOGGER_DIALOG };
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
public:
virtual BOOL OnInitDialog();
DECLARE_MESSAGE_MAP()
public:
afx_msg void OnBnClickedOk();
afx_msg void OnBnClickedCancel();
CComboBox m_cEventTypeCombo;
afx_msg void OnClose();
CString m_szComment;
CButton m_cLogEventButton;
CComboBox m_cEventTargetCombo;
CString m_szEventTarget;
afx_msg void OnCbnSelchangeEventTypeCombo();
CStatic m_cEventValueLabel;
CString m_szEventValueLabel;
CEdit m_cEventValueEdit;
CString m_szEventValue;
afx_msg void OnCbnSelchangeEventTargetCombo();
};