Leaked source code of windows server 2003
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.

74 lines
2.2 KiB

  1. //+--------------------------------------------------------------------------
  2. //
  3. // Microsoft Windows
  4. // Copyright (C) Microsoft Corporation, 1994 - 1998.
  5. //
  6. // File: ToolDefs.h
  7. //
  8. // Contents: tool-wide default settings property page
  9. //
  10. // Classes: CToolDefs
  11. //
  12. // History: 03-14-1998 stevebl Commented
  13. //
  14. //---------------------------------------------------------------------------
  15. #if !defined(AFX_TOOLDEFS_H__B6FBC88D_8B7B_11D1_984D_00C04FB9603F__INCLUDED_)
  16. #define AFX_TOOLDEFS_H__B6FBC88D_8B7B_11D1_984D_00C04FB9603F__INCLUDED_
  17. #if _MSC_VER >= 1000
  18. #pragma once
  19. #endif // _MSC_VER >= 1000
  20. /////////////////////////////////////////////////////////////////////////////
  21. // CToolDefs dialog
  22. class CToolDefs : public CPropertyPage
  23. {
  24. // Construction
  25. public:
  26. CToolDefs(CWnd* pParent = NULL); // standard constructor
  27. ~CToolDefs();
  28. // Dialog Data
  29. //{{AFX_DATA(CToolDefs)
  30. enum { IDD = IDD_TOOL_DEFAULTS };
  31. CString m_szStartPath;
  32. int m_iUI;
  33. int m_iDeployment;
  34. //}}AFX_DATA
  35. TOOL_DEFAULTS * m_pToolDefaults;
  36. LONG_PTR m_hConsoleHandle;
  37. MMC_COOKIE m_cookie;
  38. BOOL m_fMachine;
  39. CToolDefs ** m_ppThis;
  40. // Overrides
  41. // ClassWizard generated virtual function overrides
  42. //{{AFX_VIRTUAL(CToolDefs)
  43. public:
  44. virtual BOOL OnApply();
  45. protected:
  46. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  47. virtual LRESULT WindowProc(UINT message, WPARAM wParam, LPARAM lParam);
  48. //}}AFX_VIRTUAL
  49. // Implementation
  50. protected:
  51. // Generated message map functions
  52. //{{AFX_MSG(CToolDefs)
  53. virtual BOOL OnInitDialog();
  54. afx_msg void OnBrowse();
  55. afx_msg void OnChanged();
  56. afx_msg void OnContextMenu(CWnd* pWnd, CPoint point);
  57. //}}AFX_MSG
  58. DECLARE_MESSAGE_MAP()
  59. };
  60. //{{AFX_INSERT_LOCATION}}
  61. // Microsoft Developer Studio will insert additional declarations immediately before the previous line.
  62. #endif // !defined(AFX_TOOLDEFS_H__B6FBC88D_8B7B_11D1_984D_00C04FB9603F__INCLUDED_)