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

  1. // AllControlsSheet.h : header file
  2. //
  3.  
  4. // This is a part of the Microsoft Foundation Classes C++ library.
  5. // Copyright (C) 1992-1998 Microsoft Corporation
  6. // All rights reserved.
  7. //
  8. // This source code is only intended as a supplement to the
  9. // Microsoft Foundation Classes Reference and related
  10. // electronic documentation provided with the library.
  11. // See these sources for detailed information regarding the
  12. // Microsoft Foundation Classes product.
  13.  
  14. /////////////////////////////////////////////////////////////////////////////
  15. // CAllControlsSheet
  16.  
  17. #include "treecpg.h"
  18. #include "animctrl.h"
  19. #include "toolpage.h"
  20. #include "datetime.h"
  21. #include "monthcal.h"
  22.  
  23. class CAllControlsSheet : public CPropertySheet
  24. {
  25.     DECLARE_DYNAMIC(CAllControlsSheet)
  26.  
  27. // Construction
  28. public:
  29.     CAllControlsSheet(UINT nIDCaption, CWnd* pParentWnd = NULL, UINT iSelectPage = 0);
  30.     CAllControlsSheet(LPCTSTR pszCaption, CWnd* pParentWnd = NULL, UINT iSelectPage = 0);
  31.  
  32. protected:
  33.     void AddControlPages(void);
  34.  
  35. // Attributes
  36. public:
  37.  
  38.     CTreeCtrlPage       m_treectrlpage;
  39.     CAnimateCtrlPage    m_animctrlpage;
  40.     CToolBarCtrlPage    m_toolbarpage;
  41.     CDateTimePage       m_datetimepage;
  42.     CMonthCalPage       m_monthcalpage;
  43. // Operations
  44. public:
  45.  
  46. // Overrides
  47.     // ClassWizard generated virtual function overrides
  48.     //{{AFX_VIRTUAL(CAllControlsSheet)
  49.     //}}AFX_VIRTUAL
  50.  
  51. // Implementation
  52. public:
  53.     virtual ~CAllControlsSheet();
  54.     virtual BOOL OnInitDialog();
  55.  
  56.     // Generated message map functions
  57. protected:
  58.  
  59.     HICON m_hIcon;
  60.  
  61.     //{{AFX_MSG(CAllControlsSheet)
  62.     afx_msg HCURSOR OnQueryDragIcon();
  63.     afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
  64.     //}}AFX_MSG
  65.     DECLARE_MESSAGE_MAP()
  66. };
  67.  
  68. /////////////////////////////////////////////////////////////////////////////
  69.