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

  1. // PropSheet.h : header file
  2. //
  3. // This is a part of the Microsoft Foundation Classes C++ library.
  4. // Copyright (C) 1992-1998 Microsoft Corporation
  5. // All rights reserved.
  6. //
  7. // This source code is only intended as a supplement to the
  8. // Microsoft Foundation Classes Reference and related
  9. // electronic documentation provided with the library.
  10. // See these sources for detailed information regarding the
  11. // Microsoft Foundation Classes product.
  12.  
  13. /////////////////////////////////////////////////////////////////////////////
  14. // CEnrollSheet
  15.  
  16. #include "CoursDlg.h"
  17. #include "SectnDlg.h"
  18. #include "InstrDlg.h"
  19. #include "StudDlg.h"
  20.  
  21. class CEnrollSheet : public CPropertySheet
  22. {
  23. //  DECLARE_DYNAMIC(CEnrollSheet)
  24.  
  25. // Construction
  26. public:
  27.     CEnrollSheet(UINT nIDCaption, CWnd* pParentWnd = NULL, UINT iSelectPage = 0);
  28.     CEnrollSheet(LPCTSTR pszCaption, CWnd* pParentWnd = NULL, UINT iSelectPage = 0);
  29.  
  30. protected:
  31.     void AddControlPages(void);
  32.  
  33. // Attributes
  34. public:
  35.     CCoursePage         m_coursepage;   // Course PropPage
  36.     CSectionPage        m_sectionpage;  // Section PropPage
  37.     CInstructorPage     m_instructpage; // Instructor PropPage
  38.     CStudentPage        m_studentpage;  // Student PropPage
  39.     CRdc                m_CourseRDC;    // supplies the Cursor for both pages
  40. // Operations
  41. public:
  42.  
  43. // Overrides
  44.     // ClassWizard generated virtual function overrides
  45.     //{{AFX_VIRTUAL(CEnrollSheet)
  46. protected:
  47.     virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
  48.     //}}AFX_VIRTUAL
  49.  
  50. // Implementation
  51. public:
  52.     virtual ~CEnrollSheet();
  53.  
  54.     // Generated message map functions
  55. protected:
  56.  
  57.     HICON m_hIcon;
  58.  
  59.     //{{AFX_MSG(CEnrollSheet)
  60.     virtual BOOL OnInitDialog();
  61.     afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
  62.     afx_msg HCURSOR OnQueryDragIcon();
  63.     afx_msg BOOL OnDSCNotify(DSCSTATE nState, DSCREASON nReason, BOOL* pBool);
  64.     DECLARE_EVENTSINK_MAP()
  65.     //}}AFX_MSG
  66.     DECLARE_MESSAGE_MAP()
  67. };
  68.  
  69. /////////////////////////////////////////////////////////////////////////////
  70.