summaryrefslogtreecommitdiffabout
path: root/ActionPage.h
blob: 570abd08d2e7638287c198f60ba76faaf247e55e (plain)
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
// ActionPage.h : header file
//

/////////////////////////////////////////////////////////////////////////////
// CActionPage dialog

class CHostPropertyPages;
class CActionPage : public CPropertyPage
{
	DECLARE_DYNCREATE(CActionPage)

// Construction
public:
	void BrowseCtl(CComboBox& ctl);
	HICON m_BrowseIcon;
	HICON m_PreplayIcon;
	void UpdateBrother();
	void UpdatePage();
	void SetupControls();
	CHostPropertyPages* m_dad;
	CActionPage();
	~CActionPage();

// Dialog Data
	//{{AFX_DATA(CActionPage)
	enum { IDD = IDD_PROPS_ACTION };
	CButton	m_BrowseUpCtl;
	CButton	m_BrowseDnCtl;
	CButton	m_SoundPreviewUp;
	CButton	m_SoundPreviewDn;
	CComboBox	m_SoundUpCtl;
	CComboBox	m_SoundDnCtl;
	CEdit	m_CustomUpCtl;
	CEdit	m_CustomDnCtl;
	CButton	m_bPlayASoundUpCtl;
	CButton	m_bPlayASoundDnCtl;
	CButton	m_OverrideActionCtl;
	CButton	m_bCustomUpCtl;
	CButton	m_bCustomDnCtl;
	BOOL	m_bCustomDn;
	BOOL	m_bCustomUp;
	BOOL	m_OverrideAction;
	BOOL	m_bPlayASoundDn;
	BOOL	m_bPlayASoundUp;
	CString	m_CustomDn;
	CString	m_CustomUp;
	CString	m_SoundDn;
	CString	m_SoundUp;
	//}}AFX_DATA


// Overrides
	// ClassWizard generate virtual function overrides
	//{{AFX_VIRTUAL(CActionPage)
	public:
	virtual BOOL OnSetActive();
	virtual BOOL OnKillActive();
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:
	// Generated message map functions
	//{{AFX_MSG(CActionPage)
	afx_msg void OnCustomDown();
	afx_msg void OnCustomUp();
	afx_msg void OnOverrideAction();
	afx_msg void OnPlayasoundDown();
	afx_msg void OnPlayasoundUp();
	afx_msg void OnPreviewSoundUp();
	afx_msg void OnPreviewSoundDown();
	afx_msg void OnBrowseSoundDown();
	afx_msg void OnBrowseSoundUp();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()

};