home *** CD-ROM | disk | FTP | other *** search
- // Pages.h : header file
- //
-
- #ifndef __PAGES_H__
- #define __PAGES_H__
-
- /////////////////////////////////////////////////////////////////////////////
- // CColorPage dialog
-
- class CColorPage : public CPropertyPage
- {
- DECLARE_DYNCREATE(CColorPage)
-
- // Construction
- public:
- CColorPage();
- ~CColorPage();
-
- // Dialog Data
- //{{AFX_DATA(CColorPage)
- enum { IDD = IDD_PAGE_COLORS };
- // NOTE - ClassWizard will add data members here.
- // DO NOT EDIT what you see in these blocks of generated code !
- //}}AFX_DATA
-
-
- // Overrides
- // ClassWizard generate virtual function overrides
- //{{AFX_VIRTUAL(CColorPage)
- protected:
- virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
- //}}AFX_VIRTUAL
-
- // Implementation
- protected:
- // Generated message map functions
- //{{AFX_MSG(CColorPage)
- // NOTE: the ClassWizard will add member functions here
- //}}AFX_MSG
- DECLARE_MESSAGE_MAP()
-
- };
-
-
- /////////////////////////////////////////////////////////////////////////////
- // CComparePage dialog
-
- class CComparePage : public CPropertyPage
- {
- DECLARE_DYNCREATE(CComparePage)
-
- // Construction
- public:
- CComparePage();
- ~CComparePage();
-
- // Dialog Data
- //{{AFX_DATA(CComparePage)
- enum { IDD = IDD_PAGE_COMPARE };
- CSliderCtrl m_Slider;
- BOOL m_bIgnoreCase;
- BOOL m_bIgnoreWhiteSpace;
- //}}AFX_DATA
-
- // Attributes
- public:
- void SetIgnoreCase(BOOL bIgnore){ m_bIgnoreCase = bIgnore; }
- void SetIgnoreWhiteSpace(BOOL bIgnore)
- { m_bIgnoreWhiteSpace = bIgnore; }
- void SetReadAheadOptLevel(UINT nLevel)
- { m_uReadAheadOptLevel = nLevel; }
-
- BOOL GetIgnoreCase() const { return m_bIgnoreCase; }
- BOOL GetIgnoreWhiteSpace() const { return m_bIgnoreWhiteSpace; }
- UINT GetReadAheadOptLevel() const { return m_uReadAheadOptLevel; }
-
-
- // Overrides
- // ClassWizard generate virtual function overrides
- //{{AFX_VIRTUAL(CComparePage)
- protected:
- virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
- //}}AFX_VIRTUAL
-
- // Implementation
- protected:
- UINT m_uReadAheadOptLevel;
- // Generated message map functions
- //{{AFX_MSG(CComparePage)
- virtual BOOL OnInitDialog();
- //}}AFX_MSG
- DECLARE_MESSAGE_MAP()
-
- };
-
-
- /////////////////////////////////////////////////////////////////////////////
- // CFontPage dialog
-
- class CFontPage : public CPropertyPage
- {
- DECLARE_DYNCREATE(CFontPage)
-
- // Construction
- public:
- CFontPage();
- ~CFontPage();
-
- // Dialog Data
- //{{AFX_DATA(CFontPage)
- enum { IDD = IDD_PAGE_FONT };
- CString m_FontName;
- CString m_FontSize;
- //}}AFX_DATA
-
- CHARFORMAT m_CharacterFormat;
-
- public:
- void SetCharacterFormat(CHARFORMAT& CharFormat);
- void GetCharacterFormat(CHARFORMAT& CharFormat) const ;
-
- // Overrides
- // ClassWizard generate virtual function overrides
- //{{AFX_VIRTUAL(CFontPage)
- protected:
- virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
- //}}AFX_VIRTUAL
-
- // Implementation
- protected:
- // Generated message map functions
- //{{AFX_MSG(CFontPage)
- afx_msg void OnButtonFont();
- //}}AFX_MSG
- DECLARE_MESSAGE_MAP()
-
- };
-
-
-
- #endif // __PAGES_H__
-