Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

[50c14b]: SRCEdit.h Maximize Restore History

Download this file

SRCEdit.h    81 lines (70 with data), 2.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
#if !defined(AFX_SRCEDIT_H__0B02863B_E61C_4175_A590_7E106B6DBF3D__INCLUDED_)
#define AFX_SRCEDIT_H__0B02863B_E61C_4175_A590_7E106B6DBF3D__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// SRCEdit.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// CSRCEdit dialog
class CSRCEdit : public CDialog
{
// Construction
public:
CSRCEdit(CWnd* pParent = NULL); // standard constructor
void NewSRC();
// Dialog Data
//{{AFX_DATA(CSRCEdit)
enum { IDD = IDD_SRCEDIT };
CSpinButtonCtrl m_spincontrol;
CEdit m_buddycontrol;
CComboBox m_slotpicker;
CString m_text;
CString m_cntstr;
CString m_soundref;
long m_ref;
BOOL m_tagged;
//}}AFX_DATA
int m_srccnt;
int m_stringnum;
// int *m_srcslots;
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CSRCEdit)
public:
virtual BOOL PreTranslateMessage(MSG* pMsg);
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
virtual void PostNcDestroy();
//}}AFX_VIRTUAL
// Implementation
protected:
CToolTipCtrl m_tooltip;
CString filepath;
void RefreshControl();
void SaveSrc(int save);
// Generated message map functions
//{{AFX_MSG(CSRCEdit)
virtual BOOL OnInitDialog();
afx_msg void OnAdd();
afx_msg void OnRemove();
afx_msg void OnPlay();
afx_msg void OnLoad();
afx_msg void OnLoadex();
afx_msg void OnSaveas();
afx_msg void OnNew();
afx_msg void OnCheck();
afx_msg void OnKillfocusRef();
afx_msg void OnKillfocusSoundref();
afx_msg void OnSave();
afx_msg void OnKillfocusText();
afx_msg void OnTagged();
afx_msg void OnKillfocusSlotpicker();
afx_msg void OnSelchangeSlotpicker();
afx_msg void OnChangeBuddy();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_SRCEDIT_H__0B02863B_E61C_4175_A590_7E106B6DBF3D__INCLUDED_)