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

  1. // MySheet.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. // CMyPropertySheet
  15.  
  16. class CMyPropertySheet : public CPropertySheet
  17. {
  18.     DECLARE_DYNAMIC(CMyPropertySheet)
  19.  
  20. // Construction
  21. public:
  22.     CMyPropertySheet(UINT nIDCaption, CWnd* pParentWnd = NULL,
  23.         UINT iSelectPage = 0);
  24.     CMyPropertySheet(LPCTSTR pszCaption, CWnd* pParentWnd = NULL,
  25.         UINT iSelectPage = 0);
  26.  
  27. // Attributes
  28. public:
  29.     CButton*        m_pbtnDatabase;
  30.     CButton*        m_pchkCursorLib;
  31.     CButton*        m_pbtnAbout;
  32.  
  33.     BOOL            m_bCursorLib;
  34.  
  35. // Operations
  36. public:
  37.  
  38. // Overrides
  39.     // ClassWizard generated virtual function overrides
  40.     //{{AFX_VIRTUAL(CMyPropertySheet)
  41.     public:
  42.     virtual BOOL OnInitDialog();
  43.     protected:
  44.     virtual BOOL OnCommand(WPARAM wParam, LPARAM lParam);
  45.     //}}AFX_VIRTUAL
  46.  
  47. // Implementation
  48. public:
  49.     virtual ~CMyPropertySheet();
  50.  
  51.     // Generated message map functions
  52. protected:
  53.     //{{AFX_MSG(CMyPropertySheet)
  54.     afx_msg void OnPaint();
  55.     afx_msg BOOL OnEraseBkgnd(CDC* pDC);
  56.     afx_msg HCURSOR OnQueryDragIcon();
  57.     afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
  58.     afx_msg void OnInitMenuPopup(CMenu* pPopupMenu, UINT nIndex, BOOL bSysMenu);
  59.     //}}AFX_MSG
  60.     DECLARE_MESSAGE_MAP()
  61. };
  62.  
  63. /////////////////////////////////////////////////////////////////////////////
  64.