home *** CD-ROM | disk | FTP | other *** search
/ Visual Basic Controls / Visual Basic Controls.iso / vbcontrol / ctlhtmlc / controls.h < prev    next >
Encoding:
C/C++ Source or Header  |  1999-05-07  |  4.1 KB  |  164 lines

  1. /*---------------------------------------------------------------------------*\
  2.  | Controls.h   - CtlHTML(tm) Control Library Test Program                   |
  3.  |                Windmill Point Software, Alburg, VT 05440                  |
  4.  |                Copyright (c) 1999, Windmill Point Software                |
  5.  |                All Rights Reserved.                                       |
  6. \*---------------------------------------------------------------------------*/
  7.  
  8. #if !defined(AFX_CONTROLS_H__71B9F362_046B_11D3_8171_00104BCD3AB4__INCLUDED_)
  9. #define AFX_CONTROLS_H__71B9F362_046B_11D3_8171_00104BCD3AB4__INCLUDED_
  10.  
  11. #if _MSC_VER > 1000
  12. #pragma once
  13. #endif // _MSC_VER > 1000
  14.  
  15. /////////////////////////////////////////////////////////////////////////////
  16. // CButtons dialog
  17.  
  18. class CButtons : public CPropertyPage
  19. {
  20.     DECLARE_DYNCREATE(CButtons)
  21.  
  22. // Construction
  23. public:
  24.     CButtons();
  25.     ~CButtons();
  26.  
  27. // Dialog Data
  28.     //{{AFX_DATA(CButtons)
  29.     enum { IDD = IDD_PUSH_BUTTONS };
  30.     //}}AFX_DATA
  31.  
  32. // Overrides
  33.     // ClassWizard generate virtual function overrides
  34.     //{{AFX_VIRTUAL(CButtons)
  35.     protected:
  36.     virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
  37.     virtual BOOL OnInitDialog();
  38.     //}}AFX_VIRTUAL
  39.  
  40. // Implementation
  41. protected:
  42.     // Generated message map functions
  43.     //{{AFX_MSG(CButtons)
  44.     afx_msg void OnActivate(UINT nState, CWnd* pWndOther, BOOL bMinimized);
  45.     //}}AFX_MSG
  46.     DECLARE_MESSAGE_MAP()
  47. };
  48.  
  49. /////////////////////////////////////////////////////////////////////////////
  50. // CCheckBoxes dialog
  51.  
  52. class CCheckBoxes : public CPropertyPage
  53. {
  54.     DECLARE_DYNCREATE(CCheckBoxes)
  55.  
  56. // Construction
  57. public:
  58.     CCheckBoxes();
  59.     ~CCheckBoxes();
  60.  
  61. // Dialog Data
  62.     //{{AFX_DATA(CCheckBoxes)
  63.     enum { IDD = IDD_CHECK_BOXES };
  64.     //}}AFX_DATA
  65.  
  66. // Overrides
  67.     // ClassWizard generate virtual function overrides
  68.     //{{AFX_VIRTUAL(CCheckBoxes)
  69.     protected:
  70.     virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
  71.     virtual BOOL OnInitDialog();
  72.     //}}AFX_VIRTUAL
  73.  
  74. // Implementation
  75. protected:
  76.     // Generated message map functions
  77.     //{{AFX_MSG(CCheckBoxes)
  78.     afx_msg void OnActivate(UINT nState, CWnd* pWndOther, BOOL bMinimized);
  79.     //}}AFX_MSG
  80.     DECLARE_MESSAGE_MAP()
  81. };
  82.  
  83. /////////////////////////////////////////////////////////////////////////////
  84. // CText dialog
  85.  
  86. class CText : public CPropertyPage
  87. {
  88.     DECLARE_DYNCREATE(CText)
  89.  
  90. // Construction
  91. public:
  92.     CText();
  93.     ~CText();
  94.  
  95. // Dialog Data
  96.     //{{AFX_DATA(CText)
  97.     enum { IDD = IDD_TEXT };
  98.     //}}AFX_DATA
  99.  
  100. // Overrides
  101.     // ClassWizard generate virtual function overrides
  102.     //{{AFX_VIRTUAL(CText)
  103.     protected:
  104.     virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
  105.     virtual BOOL OnInitDialog();
  106.     //}}AFX_VIRTUAL
  107.  
  108. // Implementation
  109. protected:
  110.     // Generated message map functions
  111.     //{{AFX_MSG(CText)
  112.     afx_msg void OnActivate(UINT nState, CWnd* pWndOther, BOOL bMinimized);
  113.     //}}AFX_MSG
  114.     DECLARE_MESSAGE_MAP()
  115. };
  116.  
  117. /////////////////////////////////////////////////////////////////////////////
  118. // CControls
  119.  
  120. class CControls : public CMcPropertySheet
  121. {
  122.     DECLARE_DYNAMIC(CControls)
  123.  
  124. // Construction
  125. public:
  126.     CControls(UINT nIDCaption, CWnd* pParentWnd = NULL, UINT iSelectPage = 0);
  127.     CControls(LPCTSTR pszCaption, CWnd* pParentWnd = NULL, UINT iSelectPage = 0);
  128.  
  129. // Attributes
  130. public:
  131.  
  132. // Operations
  133. public:
  134.  
  135. // Overrides
  136.     // ClassWizard generated virtual function overrides
  137.     //{{AFX_VIRTUAL(CControls)
  138.     public:
  139.     virtual BOOL OnInitDialog();
  140.     //}}AFX_VIRTUAL
  141.  
  142. // Implementation
  143. public:
  144.     virtual ~CControls();
  145.  
  146.    CButtons    m_Buttons;
  147.    CCheckBoxes m_CheckBoxes;
  148.    CText       m_Text;
  149.  
  150.     // Generated message map functions
  151. protected:
  152.     //{{AFX_MSG(CControls)
  153.     afx_msg void OnDestroy();
  154.     afx_msg void OnActivate(UINT nState, CWnd* pWndOther, BOOL bMinimized);
  155.     //}}AFX_MSG
  156.     DECLARE_MESSAGE_MAP()
  157. };
  158.  
  159. /////////////////////////////////////////////////////////////////////////////
  160. // {{AFX_INSERT_LOCATION}}
  161. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  162.  
  163. #endif // !defined(AFX_CONTROLS_H__71B9F362_046B_11D3_8171_00104BCD3AB4__INCLUDED_)
  164.