home *** CD-ROM | disk | FTP | other *** search
/ Mastering MFC Development / MMD.ISO / labs / c06 / lab05 / ex03 / prefer.h < prev    next >
Encoding:
C/C++ Source or Header  |  1997-02-20  |  1.0 KB  |  50 lines

  1. // Prefer.h : header file
  2. //
  3. // This class defines custom modal property sheet 
  4. // CPreferences.
  5.  
  6. #ifndef __PREFER_H__
  7. #define __PREFER_H__
  8.  
  9. #include "Pages.h"
  10.  
  11. /////////////////////////////////////////////////////////////////////////////
  12. // CPreferences
  13.  
  14. class CPreferences : public CPropertySheet
  15. {
  16.     DECLARE_DYNAMIC(CPreferences)
  17.  
  18. // Construction
  19. public:
  20.     CPreferences(CWnd* pParentWnd = NULL);
  21.  
  22. // Attributes
  23. public:
  24.     CColorPage        m_ColorPage;
  25.     CComparePage    m_ComparePage;
  26.     CFontPage        m_FontPage;
  27.  
  28. // Operations
  29. public:
  30.  
  31. // Overrides
  32.     // ClassWizard generated virtual function overrides
  33.     //{{AFX_VIRTUAL(CPreferences)
  34.     //}}AFX_VIRTUAL
  35.  
  36. // Implementation
  37. public:
  38.     virtual ~CPreferences();
  39.  
  40. // Generated message map functions
  41. protected:
  42.     //{{AFX_MSG(CPreferences)
  43.         // NOTE - the ClassWizard will add and remove member functions here.
  44.     //}}AFX_MSG
  45.     DECLARE_MESSAGE_MAP()
  46. };
  47.  
  48. /////////////////////////////////////////////////////////////////////////////
  49.  
  50. #endif    // __PREFER_H__