Team Fortress 2 Source Code as on 22/4/2020
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.

84 lines
2.0 KiB

  1. //========= Copyright Valve Corporation, All rights reserved. ============//
  2. //
  3. // Purpose:
  4. //
  5. // $NoKeywords: $
  6. //
  7. //=============================================================================//
  8. #ifndef PROPSHT_H
  9. #define PROPSHT_H
  10. #ifdef WIN32
  11. #pragma once
  12. #endif
  13. // AllControlsSheet.h : header file
  14. //
  15. // This is a part of the Microsoft Foundation Classes C++ library.
  16. // Copyright (C) 1992-1998 Microsoft Corporation
  17. // All rights reserved.
  18. //
  19. // This source code is only intended as a supplement to the
  20. // Microsoft Foundation Classes Reference and related
  21. // electronic documentation provided with the library.
  22. // See these sources for detailed information regarding the
  23. // Microsoft Foundation Classes product.
  24. /////////////////////////////////////////////////////////////////////////////
  25. // CAllControlsSheet
  26. #include "FolderSelectProps.h"
  27. #include "LogSelectProps.h"
  28. #include "SwitchProps.h"
  29. class CAllControlsSheet : public CPropertySheet
  30. {
  31. DECLARE_DYNAMIC(CAllControlsSheet)
  32. // Construction
  33. public:
  34. CAllControlsSheet(UINT nIDCaption, CWnd* pParentWnd = NULL, UINT iSelectPage = 0);
  35. CAllControlsSheet(LPCTSTR pszCaption, CWnd* pParentWnd = NULL, UINT iSelectPage = 0);
  36. protected:
  37. void AddControlPages(void);
  38. // Attributes
  39. public:
  40. CFolderSelectProps m_FolderPage;
  41. CLogSelectProps m_LogPage;
  42. CSwitchProps m_SwitchPage;
  43. // Operations
  44. public:
  45. // Overrides
  46. // ClassWizard generated virtual function overrides
  47. //{{AFX_VIRTUAL(CAllControlsSheet)
  48. public:
  49. virtual BOOL Create(LPCTSTR lpszClassName, LPCTSTR lpszWindowName, DWORD dwStyle, const RECT& rect, CWnd* pParentWnd, UINT nID, CCreateContext* pContext = NULL);
  50. //}}AFX_VIRTUAL
  51. // Implementation
  52. public:
  53. virtual ~CAllControlsSheet();
  54. virtual BOOL OnInitDialog();
  55. // Generated message map functions
  56. protected:
  57. HICON m_hIcon;
  58. //{{AFX_MSG(CAllControlsSheet)
  59. afx_msg HCURSOR OnQueryDragIcon();
  60. afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
  61. //}}AFX_MSG
  62. DECLARE_MESSAGE_MAP()
  63. };
  64. /////////////////////////////////////////////////////////////////////////////
  65. #endif // PROPSHT_H