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 / sectndlg.h < prev    next >
C/C++ Source or Header  |  1998-03-26  |  2KB  |  59 lines

  1. // SectnDlg.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. #include "resource.h"
  14. /////////////////////////////////////////////////////////////////////////////
  15. // CSectionPage dialog
  16.  
  17. #ifndef INC_SECTNPAGE_H
  18. #define INC_SECTNPAGE_H
  19. #include "rdc.h"
  20.  
  21. class CSectionPage : public CPropertyPage
  22. {
  23. //  DECLARE_DYNCREATE(CSectionPage)
  24.  
  25. // Construction
  26. public:
  27.     CSectionPage();
  28.     ~CSectionPage();
  29.     CRdc* m_pCourseRDC;
  30.     BOOL OnCourseChanged();
  31.     BOOL OnStudentsChanged();
  32. // Dialog Data
  33.     //{{AFX_DATA(CSectionPage)
  34.     enum { IDD = IDD_SECTION };
  35.     //}}AFX_DATA
  36.  
  37.  
  38. // Overrides
  39.     // ClassWizard generate virtual function overrides
  40.     //{{AFX_VIRTUAL(CSectionPage)
  41.     protected:
  42.     virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
  43.     virtual BOOL OnInitDialog();
  44.     //}}AFX_VIRTUAL
  45.  
  46. // Implementation
  47. protected:
  48.     BOOL m_initiated; // flag set by OnInitDialog()
  49.     // Generated message map functions
  50.     //{{AFX_MSG(CSectionPage)
  51.     afx_msg BOOL OnDSCSectionNotify(DSCSTATE nState, DSCREASON nReason, BOOL* pBool);
  52.     DECLARE_EVENTSINK_MAP()
  53.     //}}AFX_MSG
  54.     DECLARE_MESSAGE_MAP()
  55.  
  56. };
  57.  
  58. #endif
  59.