Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

[477acb]: 2DAEdit.h Maximize Restore History

Download this file

2DAEdit.h    202 lines (177 with data), 5.1 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
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
#if !defined(AFX_2DAEDIT_H__A659E223_F381_47CD_9D75_C923A23E39C6__INCLUDED_)
#define AFX_2DAEDIT_H__A659E223_F381_47CD_9D75_C923A23E39C6__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// 2DAEdit.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// C2DAEdit dialog
class C2DAEdit : public CDialog
{
// Construction
public:
C2DAEdit(CWnd* pParent = NULL); // standard constructor
void New2DA();
// Dialog Data
//{{AFX_DATA(C2DAEdit)
enum { IDD = IDD_2DAEDIT };
CListCtrl m_2da_control;
BOOL m_integer;
//}}AFX_DATA
CEdit m_edit;
int m_inedit;
int m_item, m_subitem;
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(C2DAEdit)
public:
virtual BOOL PreTranslateMessage(MSG* pMsg);
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
CToolTipCtrl m_tooltip;
void RefreshDialog();
void RClick();
void Click(int flg);
void SaveTable(int save);
afx_msg void DefaultKillfocus();
// Generated message map functions
//{{AFX_MSG(C2DAEdit)
afx_msg void OnLoad();
afx_msg void OnLoadex();
afx_msg void OnSaveas();
afx_msg void OnNew();
virtual BOOL OnInitDialog();
afx_msg void OnInt();
afx_msg void OnEndlabeledit2da(NMHDR* pNMHDR, LRESULT* pResult);
afx_msg void OnClick2da(NMHDR* pNMHDR, LRESULT* pResult);
afx_msg void OnColumnclick2da(NMHDR* pNMHDR, LRESULT* pResult);
afx_msg void OnRow();
afx_msg void OnColumn();
afx_msg void OnRemove();
afx_msg void OnRemove2();
afx_msg void OnRClick2da(NMHDR* pNMHDR, LRESULT* pResult);
afx_msg void OnCopy2();
afx_msg void OnCopy();
afx_msg void OnPaste2();
afx_msg void OnPaste();
afx_msg void OnColumn2();
afx_msg void OnRow2();
afx_msg void OnSave();
afx_msg void OnToolsCapitalize();
afx_msg void OnToolsLookupstrref();
afx_msg void OnOrder();
//}}AFX_MSG
afx_msg void OnKillfocusEditlink();
afx_msg void OnCustomdrawMyList ( NMHDR* pNMHDR, LRESULT* pResult );
DECLARE_MESSAGE_MAP()
};
/////////////////////////////////////////////////////////////////////////////
// CIDSEdit dialog
class CIDSEdit : public CDialog
{
// Construction
public:
CIDSEdit(CWnd* pParent = NULL); // standard constructor
void NewIDS();
void SetReadOnly(int arg) { m_readonly=arg; }
// Dialog Data
//{{AFX_DATA(CIDSEdit)
enum { IDD = IDD_IDSEDIT };
CListCtrl m_ids_control;
BOOL m_hex;
BOOL m_four;
//}}AFX_DATA
CEdit m_edit;
BOOL m_inedit;
int m_item, m_subitem;
int m_readonly;
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CIDSEdit)
public:
virtual BOOL PreTranslateMessage(MSG* pMsg);
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
CToolTipCtrl m_tooltip;
void RefreshDialog();
void SetHex();
void SaveIDS(int save);
// Generated message map functions
//{{AFX_MSG(CIDSEdit)
afx_msg void OnLoad();
afx_msg void OnLoadex();
afx_msg void OnNew();
afx_msg void OnSaveas();
afx_msg void OnRow();
virtual BOOL OnInitDialog();
afx_msg void OnClickIds(NMHDR* pNMHDR, LRESULT* pResult);
afx_msg void OnEndlabeleditIds(NMHDR* pNMHDR, LRESULT* pResult);
afx_msg void OnInt();
afx_msg void OnOrder();
afx_msg void OnRemove();
afx_msg void OnFour();
afx_msg void OnSave();
//}}AFX_MSG
afx_msg void OnKillfocusEditlink();
afx_msg void OnCustomdrawMyList ( NMHDR* pNMHDR, LRESULT* pResult );
DECLARE_MESSAGE_MAP()
};
/////////////////////////////////////////////////////////////////////////////
// CMUSEdit dialog
class CMUSEdit : public CDialog
{
// Construction
public:
CMUSEdit(CWnd* pParent = NULL); // standard constructor
void NewMUS();
// Dialog Data
//{{AFX_DATA(CMUSEdit)
enum { IDD = IDD_MUSEDIT };
CListCtrl m_mus_control;
//}}AFX_DATA
CEdit m_edit;
BOOL m_inedit;
int m_item, m_subitem;
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CMUSEdit)
public:
virtual BOOL PreTranslateMessage(MSG* pMsg);
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
CToolTipCtrl m_tooltip;
void RefreshDialog();
int RClick();
void Click();
// Generated message map functions
//{{AFX_MSG(CMUSEdit)
afx_msg void OnRemove();
afx_msg void OnRow();
afx_msg void OnLoad();
afx_msg void OnLoadex();
afx_msg void OnSaveas();
afx_msg void OnNew();
virtual BOOL OnInitDialog();
afx_msg void OnClickMus(NMHDR* pNMHDR, LRESULT* pResult);
afx_msg void OnEndlabeleditMus(NMHDR* pNMHDR, LRESULT* pResult);
afx_msg void OnRClickMus(NMHDR* pNMHDR, LRESULT* pResult);
afx_msg void OnPlaywhole();
afx_msg void OnRClickCmd();
//}}AFX_MSG
afx_msg void OnKillfocusEditlink();
afx_msg void OnCustomdrawMyList ( NMHDR* pNMHDR, LRESULT* pResult );
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_2DAEDIT_H__A659E223_F381_47CD_9D75_C923A23E39C6__INCLUDED_)