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 'SettingsPage.h') diff --git a/SettingsPage.h b/SettingsPage.h new file mode 100644 index 0000000..c075bde --- a/dev/null +++ b/SettingsPage.h @@ -0,0 +1,61 @@ +// SettingsPage.h : header file +// + +///////////////////////////////////////////////////////////////////////////// +// CSettingsPage dialog + +class CHostPropertyPages; +class CSettingsPage : public CPropertyPage +{ + DECLARE_DYNCREATE(CSettingsPage) + +// Construction +public: + void UpdateBrother(); + void UpdatePage(); + void SetupControls(); + CHostPropertyPages* m_dad; + CSettingsPage(); + ~CSettingsPage(); + +// Dialog Data + //{{AFX_DATA(CSettingsPage) + enum { IDD = IDD_PROPS_SETTINGS }; + CEdit m_RetriesCtl; + CEdit m_TimeOutCtl; + CEdit m_IntervalGoodCtl; + CEdit m_IntervalBadCtl; + CButton m_OverrideTimeoutCtl; + CButton m_OverrideRetriesCtl; + CButton m_OverrideIntervalsCtl; + BOOL m_OverrideIntervals; + BOOL m_OverrideRetries; + BOOL m_OverrideTimeout; + DWORD m_IntervalBad; + DWORD m_IntervalGood; + DWORD m_TimeOut; + UINT m_Retries; + //}}AFX_DATA + + +// Overrides + // ClassWizard generate virtual function overrides + //{{AFX_VIRTUAL(CSettingsPage) + 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(CSettingsPage) + afx_msg void OnOverrideIntervals(); + afx_msg void OnOverrideRetries(); + afx_msg void OnOverrideTimeout(); + //}}AFX_MSG + DECLARE_MESSAGE_MAP() + +}; -- cgit v0.9.0.2