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.

102 lines
2.1 KiB

  1. //
  2. // Application Verifier UI
  3. // Copyright (c) Microsoft Corporation, 2001
  4. //
  5. //
  6. //
  7. // module: ChooseExe.h
  8. // author: CLupu
  9. // created: 04/13/2001
  10. //
  11. // Description:
  12. //
  13. // "Choose an executable to run" wizard page class.
  14. //
  15. #if !defined(AFX_VIEWLOG_H_INCLUDED_)
  16. #define AFX_VIEWLOG_H_INCLUDED_
  17. #if _MSC_VER > 1000
  18. #pragma once
  19. #endif // _MSC_VER > 1000
  20. #include "AVPage.h"
  21. #define COLUMN_NUMBER 0
  22. #define COLUMN_TIMES 1
  23. #define COLUMN_DESCRIPTION 2
  24. /////////////////////////////////////////////////////////////////////////////
  25. // CViewLogPage dialog
  26. class CViewLogPage : public CAppverifPage
  27. {
  28. DECLARE_DYNCREATE(CViewLogPage)
  29. // Construction
  30. public:
  31. CViewLogPage();
  32. ~CViewLogPage();
  33. protected:
  34. //
  35. // Overrides
  36. //
  37. //
  38. // All the property pages derived from this class should
  39. // provide this method.
  40. //
  41. virtual ULONG GetDialogId() const;
  42. void HandleSelectionChanged( int nSel );
  43. void InsertIssue( DWORD dwIssueId, DWORD dwOccurenceCount );
  44. BOOL ReadLog();
  45. //
  46. // ClassWizard generate virtual function overrides
  47. //
  48. //{{AFX_VIRTUAL(CViewLogPage)
  49. public:
  50. virtual BOOL OnSetActive();
  51. protected:
  52. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  53. //}}AFX_VIRTUAL
  54. protected:
  55. // Dialog Data
  56. //{{AFX_DATA(CViewLogPage)
  57. enum { IDD = IDD_VIEWLOG_PAGE };
  58. CListCtrl m_IssuesList;
  59. //}}AFX_DATA
  60. int m_nIssues;
  61. DWORD m_dwSelectedIssue;
  62. protected:
  63. //
  64. // Generated message map functions
  65. //
  66. //{{AFX_MSG(CViewLogPage)
  67. virtual BOOL OnInitDialog();
  68. afx_msg LONG OnHelp( WPARAM wParam, LPARAM lParam );
  69. afx_msg void OnContextMenu( CWnd* pWnd, CPoint point );
  70. afx_msg void OnClickIssue( NMHDR* pNMHDR, LRESULT* pResult );
  71. afx_msg void OnClickURL( NMHDR* pNMHDR, LRESULT* pResult );
  72. //}}AFX_MSG
  73. DECLARE_MESSAGE_MAP()
  74. };
  75. //{{AFX_INSERT_LOCATION}}
  76. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  77. #endif // !defined(AFX_VIEWLOG_H_INCLUDED_)