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.

78 lines
2.0 KiB

  1. //////////////////////////////////////////////////////////////////////////////
  2. // Copyright (c) 2002 Microsoft Corporation. All rights reserved.
  3. // Copyright (c) 2002 OSR Open Systems Resources, Inc.
  4. //
  5. // LogDisplayOptionDlg.h : interface for the CLogDisplayOptionDlg class
  6. //////////////////////////////////////////////////////////////////////////////
  7. #pragma once
  8. // forward reference
  9. class CLogSessionPropSht;
  10. // CListCtrlDisplay class
  11. class CListCtrlDisplay : public CListCtrl
  12. {
  13. DECLARE_DYNAMIC(CListCtrlDisplay)
  14. public:
  15. CListCtrlDisplay(CLogSessionPropSht *pPropSheet);
  16. virtual ~CListCtrlDisplay();
  17. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  18. public:
  19. //{{AFX_MSG(CLogSessionDlg)
  20. afx_msg void OnCustomDraw(NMHDR* pNMHDR, LRESULT* pResult);
  21. //}}AFX_MSG
  22. DECLARE_MESSAGE_MAP()
  23. CLogSessionPropSht *m_pPropSheet;
  24. };
  25. // CLogDisplayOptionDlg dialog
  26. class CLogDisplayOptionDlg : public CPropertyPage
  27. {
  28. DECLARE_DYNAMIC(CLogDisplayOptionDlg)
  29. public:
  30. CLogDisplayOptionDlg(CLogSessionPropSht *pPropSheet);
  31. virtual ~CLogDisplayOptionDlg();
  32. BOOL OnInitDialog();
  33. BOOL OnSetActive();
  34. LRESULT OnParameterChanged(WPARAM wParam, LPARAM lParam);
  35. // Dialog Data
  36. enum { IDD = IDD_LOG_DISPLAY_OPTIONS_DIALOG };
  37. protected:
  38. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  39. public:
  40. CListCtrlDisplay m_displayOptionList;
  41. CEdit m_levelValue;
  42. CEdit m_maxBufValue;
  43. CEdit m_minBufValue;
  44. CEdit m_bufferSizeValue;
  45. CEdit m_flushTimeValue;
  46. CEdit m_decayTimeValue;
  47. CEdit m_newFileValue;
  48. CEdit m_cirValue;
  49. CEdit m_flagsValue;
  50. CEdit m_seqValue;
  51. CLogSession *m_pLogSession;
  52. CLogSessionPropSht *m_pPropSheet;
  53. BOOL m_bTraceActive;
  54. DECLARE_MESSAGE_MAP()
  55. afx_msg void OnNMClickDisplayList(NMHDR *pNMHDR, LRESULT *pResult);
  56. };