Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

54 lines
1.3 KiB

  1. //+-------------------------------------------------------------------------
  2. //
  3. // Microsoft Windows
  4. //
  5. // Copyright (C) Microsoft Corporation, 1998 - 1999
  6. //
  7. // File: csw97sht.h
  8. //
  9. //--------------------------------------------------------------------------
  10. // csw97sht.h: interface for the CWizard97PropertySheet class.
  11. //
  12. //////////////////////////////////////////////////////////////////////
  13. #if !defined(AFX_WIZ97SHT_H__386C7214_A248_11D1_8618_00C04FB94F17__INCLUDED_)
  14. #define AFX_WIZ97SHT_H__386C7214_A248_11D1_8618_00C04FB94F17__INCLUDED_
  15. #if _MSC_VER >= 1000
  16. #pragma once
  17. #endif // _MSC_VER >= 1000
  18. #include "tfc.h"
  19. #include "tfcprop.h"
  20. #define NUM_PAGES 10
  21. class CWizard97PropertyPage; // Forward definition
  22. class CWizard97PropertySheet
  23. {
  24. public:
  25. void AddPage(CWizard97PropertyPage *pPage);
  26. CWizard97PropertySheet(
  27. HINSTANCE hInstance,
  28. UINT nIDCaption,
  29. UINT nIDWaterMark,
  30. UINT nIDBanner,
  31. BOOL fWizard);
  32. virtual ~CWizard97PropertySheet();
  33. BOOL DoWizard(HWND hParent);
  34. private:
  35. CString m_title;
  36. PROPSHEETHEADER m_psh;
  37. HPROPSHEETPAGE m_pPageArr[NUM_PAGES];
  38. CWizard97PropertyPage* m_pPagePtr[NUM_PAGES];
  39. int m_nPageCount;
  40. HWND m_hWnd;
  41. };
  42. #endif // !defined(AFX_WIZ97SHT_H__386C7214_A248_11D1_8618_00C04FB94F17__INCLUDED_)