home *** CD-ROM | disk | FTP | other *** search
/ Tricks of the Windows Gam…ming Gurus (2nd Edition) / Disc2.iso / msdn_vcb / samples / vc98 / mfc / controls / smiley / smilectl / smileppg.h < prev    next >
Encoding:
C/C++ Source or Header  |  1998-03-27  |  1.2 KB  |  50 lines

  1. // SmilePpg.h : Declaration of the CSmilePropPage property page class.
  2.  
  3. ////////////////////////////////////////////////////////////////////////////
  4. // CSmilePropPage : See SmilePpg.cpp.cpp for implementation.
  5.  
  6. class CSmilePropPage : public COlePropertyPage
  7. {
  8.     DECLARE_DYNCREATE(CSmilePropPage)
  9.     DECLARE_OLECREATE_EX(CSmilePropPage)
  10.  
  11. // Constructor
  12. public:
  13.     CSmilePropPage();
  14.  
  15. // Dialog Data
  16.     //{{AFX_DATA(CSmilePropPage)
  17.     enum { IDD = IDD_PROPPAGE_Smile };
  18.     CString m_strCaption;
  19.     BOOL m_bSad;
  20.     //}}AFX_DATA
  21.  
  22. // Implementation
  23. protected:
  24.     virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
  25.  
  26. // Message maps
  27. protected:
  28.     //{{AFX_MSG(CSmilePropPage)
  29.         // NOTE - ClassWizard will add and remove member functions here.
  30.         //    DO NOT EDIT what you see in these blocks of generated code !
  31.     //}}AFX_MSG
  32.     DECLARE_MESSAGE_MAP()
  33.  
  34. };
  35.  
  36. #ifdef _USRDLL
  37. class CSmileColorPropPage : public CColorPropPage
  38. {
  39.     DECLARE_DYNCREATE(CSmileColorPropPage)
  40.     DECLARE_OLECREATE_EX(CSmileColorPropPage)
  41. };
  42.  
  43. class CSmileFontPropPage : public CFontPropPage
  44. {
  45.     DECLARE_DYNCREATE(CSmileFontPropPage)
  46.     DECLARE_OLECREATE_EX(CSmileFontPropPage)
  47. };
  48.  
  49. #endif
  50.