From fb8b43dbce8bc310718614384297aeaabb9a3cbb Mon Sep 17 00:00:00 2001 From: Michael Krelin Date: Mon, 05 Jul 2004 01:53:09 +0000 Subject: initial commit into svn repository git-svn-id: http://svn.klever.net/kin/bigbrother/trunk@1 fe716a7a-6dde-0310-88d9-d003556173a8 --- (limited to 'ActionPage.h') diff --git a/ActionPage.h b/ActionPage.h new file mode 100644 index 0000000..570abd0 --- a/dev/null +++ b/ActionPage.h @@ -0,0 +1,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() + +}; -- cgit v0.9.0.2