BehaviorMonView.h
上传用户:xuemeng126
上传日期:2022-07-05
资源大小:454k
文件大小:3k
- // BehaviorMonView.h : interface of the CBehaviorMonView class
- //
- /////////////////////////////////////////////////////////////////////////////
- #include "SortListCtrl.h"
- #include "BehaviorMonDoc.h"
- #if !defined(AFX_BEHAVIORMONVIEW_H__20C1CD59_A8B5_4BCA_95C0_3D318AB2A60C__INCLUDED_)
- #define AFX_BEHAVIORMONVIEW_H__20C1CD59_A8B5_4BCA_95C0_3D318AB2A60C__INCLUDED_
- #if _MSC_VER > 1000
- #pragma once
- #endif // _MSC_VER > 1000
- class CBehaviorMonView : public CFormView
- {
- protected: // create from serialization only
- CBehaviorMonView();
- DECLARE_DYNCREATE(CBehaviorMonView)
- public:
- //{{AFX_DATA(CBehaviorMonView)
- enum { IDD = IDD_BEHAVIORMON_FORM };
- //CString m_row_num;
- //}}AFX_DATA
- // Attributes
- public:
- CBehaviorMonDoc* GetDocument();
-
- // Operations
- public:
- void setup();
- void hook();
- void unhook();
- void cleanup();
- void tell_driver_processname(CString cs);
- void clear_list();
- afx_msg void OnButtonHook();
- afx_msg void OnButtonUnhook();
- //void displayError(char * s);
- // Overrides
- // ClassWizard generated virtual function overrides
- //{{AFX_VIRTUAL(CBehaviorMonView)
- public:
- virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
- protected:
- virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
- virtual void OnInitialUpdate(); // called first time after construct
- virtual BOOL OnPreparePrinting(CPrintInfo* pInfo);
- virtual void OnBeginPrinting(CDC* pDC, CPrintInfo* pInfo);
- virtual void OnEndPrinting(CDC* pDC, CPrintInfo* pInfo);
- virtual void OnPrint(CDC* pDC, CPrintInfo* pInfo);
- //}}AFX_VIRTUAL
- // Implementation
- public:
- virtual ~CBehaviorMonView();
- #ifdef _DEBUG
- virtual void AssertValid() const;
- virtual void Dump(CDumpContext& dc) const;
- #endif
- protected:
- // Generated message map functions
- protected:
- //{{AFX_MSG(CBehaviorMonView)
- afx_msg void OnClose();
- afx_msg void OnSize(UINT nType, int cx, int cy);
- afx_msg void OnClickListBehavior(NMHDR* pNMHDR, LRESULT* pResult);
- afx_msg void OnTimer(UINT nIDEvent);
- afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
- //}}AFX_MSG
- DECLARE_MESSAGE_MAP()
- };
- #ifndef _DEBUG // debug version in BehaviorMonView.cpp
- inline CBehaviorMonDoc* CBehaviorMonView::GetDocument()
- { return (CBehaviorMonDoc*)m_pDocument; }
- #endif
- /////////////////////////////////////////////////////////////////////////////
- //{{AFX_INSERT_LOCATION}}
- // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
- #endif // !defined(AFX_BEHAVIORMONVIEW_H__20C1CD59_A8B5_4BCA_95C0_3D318AB2A60C__INCLUDED_)