home *** CD-ROM | disk | FTP | other *** search
/ io Programmo 21 / IOPROG_21.ISO / SOFT / WIZPROP.ZIP / WizPropertyPage.h < prev    next >
Encoding:
C/C++ Source or Header  |  1998-02-03  |  822 b   |  31 lines

  1. #ifndef __WIZ_PROP_PAGE__
  2. #define __WIZ_PROP_PAGE__
  3.  
  4. class CWizPropertySheet;
  5.  
  6. class CWizPropertyPage : public CPropertyPage
  7. {
  8.     DECLARE_DYNAMIC(CWizPropertyPage)
  9. public:
  10.     BOOL Enable(BOOL bEnable=TRUE);
  11.     BOOL IsEnabled(void);
  12.     CWizPropertyPage();
  13.     CWizPropertyPage(UINT nIDTemplate, UINT nIDCaption = 0);
  14.     CWizPropertyPage(LPCTSTR lpszTemplateName, UINT nIDCaption = 0 );
  15.  
  16.     // ClassWizard generate virtual function overrides
  17.     //{{AFX_VIRTUAL(CPage1)
  18.     virtual BOOL OnSetActive();
  19.     virtual LRESULT OnWizardNext();
  20.     virtual LRESULT OnWizardBack();
  21.     virtual BOOL OnNotify(WPARAM wParam, LPARAM lParam, LRESULT* pResult);
  22.     //}}AFX_VIRTUAL
  23. protected:
  24.     virtual LRESULT GetNextPage(BOOL forward = TRUE);
  25.     BOOL m_bEnabled;
  26.     CWizPropertySheet *m_pPropSheet;
  27.  
  28.     friend class CWizPropertySheet;
  29. };
  30.  
  31. #endif