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.

68 lines
1.7 KiB

  1. //+-------------------------------------------------------------------------
  2. //
  3. // Microsoft Windows
  4. //
  5. // Copyright (C) Microsoft Corporation, 1998 - 1999
  6. //
  7. // File: csw97ppg.h
  8. //
  9. //--------------------------------------------------------------------------
  10. #if !defined(AFX_WIZ97PPG_H__386C7213_A248_11D1_8618_00C04FB94F17__INCLUDED_)
  11. #define AFX_WIZ97PPG_H__386C7213_A248_11D1_8618_00C04FB94F17__INCLUDED_
  12. #if _MSC_VER >= 1000
  13. #pragma once
  14. #endif // _MSC_VER >= 1000
  15. #include "csw97sht.h"
  16. /////////////////////////////////////////////////////////////////////////////
  17. // CWizard97PropertyPage dialog
  18. #define CSW97PG_IDLARGEFONTNAME 0
  19. #define CSW97PG_IDLARGEFONTSIZE 1
  20. #define CSW97PG_IDSMALLFONTNAME 2
  21. #define CSW97PG_IDSMALLFONTSIZE 3
  22. #define CSW97PG_COUNT 4
  23. class CWizard97PropertyPage : public PropertyPage
  24. {
  25. // Construction
  26. public:
  27. PROPSHEETPAGE m_psp97;
  28. CString m_szHeaderTitle;
  29. CString m_szHeaderSubTitle;
  30. CWizard97PropertySheet *m_pWiz;
  31. void InitWizard97(bool bHideHeader);
  32. CWizard97PropertyPage();
  33. CWizard97PropertyPage(
  34. HINSTANCE hInstance,
  35. UINT nIDTemplate,
  36. UINT rgnIDFont[CSW97PG_COUNT]);
  37. virtual ~CWizard97PropertyPage();
  38. // Dialog Data
  39. // Overrides
  40. // Implementation
  41. protected:
  42. virtual BOOL OnInitDialog();
  43. BOOL SetupFonts();
  44. HFONT GetBigBoldFont();
  45. HFONT GetBoldFont();
  46. CFont m_boldFont;
  47. CFont m_bigBoldFont;
  48. HINSTANCE m_hInstance;
  49. UINT m_rgnIDFont[CSW97PG_COUNT];
  50. };
  51. //{{AFX_INSERT_LOCATION}}
  52. // Microsoft Developer Studio will insert additional declarations immediately before the previous line.
  53. #endif // !defined(AFX_WIZ97PPG_H__386C7213_A248_11D1_8618_00C04FB94F17__INCLUDED_)