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.

87 lines
2.0 KiB

  1. /*****************************************************************************
  2. *
  3. * $Workfile: CfgAll.h $
  4. *
  5. * Copyright (C) 1997 Hewlett-Packard Company.
  6. * Copyright (c) 1997 Microsoft Corporation.
  7. * All rights reserved.
  8. *
  9. * 11311 Chinden Blvd.
  10. * Boise, Idaho 83714
  11. *
  12. *****************************************************************************
  13. *
  14. * $Log: /StdTcpMon2/TcpMonUI/CfgAll.h $
  15. *
  16. * 7 3/05/98 11:23a Dsnelson
  17. * Removed redundant code.
  18. *
  19. * 5 10/03/97 10:56a Becky
  20. * Removed OnHelp()
  21. *
  22. * 4 10/02/97 3:45p Becky
  23. * Changed FT_MIN (Failure Timeout Minimum) from 5 minutes to 1 minute.
  24. *
  25. * 3 9/16/97 2:44p Becky
  26. * Added OnOk() to actually set the data in the port monitor when the ok
  27. * button is clicked.
  28. *
  29. * 2 9/09/97 4:35p Becky
  30. * Updated to use the new Monitor UI data structure.
  31. *
  32. * 1 8/19/97 3:46p Becky
  33. * Redesign of the Port Monitor UI.
  34. *
  35. *****************************************************************************/
  36. #ifndef INC_ALLPORTS_PAGE_H
  37. #define INC_ALLPORTS_PAGE_H
  38. // Values for Failure Timeout
  39. #define FT_MIN 1
  40. #define FT_MAX 60
  41. #define FT_PAGESIZE 10
  42. // Includes:
  43. //#include "UIMgr.h"
  44. class CAllPortsPage
  45. {
  46. public:
  47. CAllPortsPage();
  48. BOOL OnInitDialog(HWND hDlg, WPARAM, LPARAM);
  49. BOOL OnCommand(HWND hDlg, WPARAM wParam, LPARAM lParam);
  50. void OnHscroll(HWND hDlg, WPARAM wParam, LPARAM lParam);
  51. BOOL OnWMNotify(HWND hDlg, WPARAM wParam, LPARAM lParam);
  52. protected:
  53. void OnBnClicked(HWND hDlg, WPARAM wParam, LPARAM lParam);
  54. void SetupTrackBar(HWND hDlg,
  55. int iChildWindowID,
  56. int iPositionCtrl,
  57. int iRangeMin,
  58. int iRangeMax,
  59. long lPosition,
  60. long lPageSize,
  61. int iAssociatedDigitalReadout);
  62. private:
  63. CFG_PARAM_PACKAGE *m_pParams;
  64. }; // class CAllPortsPage
  65. #ifdef __cplusplus
  66. extern "C"
  67. {
  68. #endif
  69. // Property sheet page function
  70. BOOL APIENTRY AllPortsPage(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam);
  71. #ifdef __cplusplus
  72. }
  73. #endif
  74. #endif // INC_ALLPORTS_PAGE_H