⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 mainfrm.h

📁 入侵检测系统
💻 H
字号:
// MainFrm.h : interface of the CMainFrame class
//
/////////////////////////////////////////////////////////////////////////////

#if !defined(AFX_MAINFRM_H__76422375_2757_425A_BBD6_0E9939D0841E__INCLUDED_)
#define AFX_MAINFRM_H__76422375_2757_425A_BBD6_0E9939D0841E__INCLUDED_

#include "scbarg.h"	// Added by ClassView
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

#include "MyToolBar.h"
#include "pcap.h"
#include "remote-ext.h"


class CMainFrame : public CFrameWnd
{
	
protected: // create from serialization only
	CMainFrame();
	DECLARE_DYNCREATE(CMainFrame)

// Attributes
public:
	CReBar			m_wndReBar; 
    CDialogBar			m_dlgbar;
    CMyToolBar   m_wndBar1;
   // Operations
public:

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CMainFrame)
	public:
	virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
	virtual BOOL DestroyWindow();
	protected:
	virtual LRESULT WindowProc(UINT message, WPARAM wParam, LPARAM lParam);
	//}}AFX_VIRTUAL

// Implementation
public:
	CComboBox* GetComboBox();
	void AddToComboBox(CString str);
	CListCtrl* GetList();
	CTreeCtrl* GetTree();
	CEdit* GetEdit();
	virtual ~CMainFrame();
#ifdef _DEBUG
	virtual void AssertValid() const;
	virtual void Dump(CDumpContext& dc) const;
#endif

protected:  // control bar embedded members
	CStatusBar  m_wndStatusBar;
	CMyToolBar   m_wndToolBar;

// Generated message map functions
protected:

	CListCtrl m_wndList;
	CTreeCtrl m_wndTree;
	CEdit m_wndEdit;
	CStatic m_wndStatic;
	
	CCoolBar m_wndMyBarLeft; //左边的
	CCoolBar m_wndMyBarBottom;//下边的
	CCoolBar m_wndMyBarRight;//右边的
	//{{AFX_MSG(CMainFrame)
	afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
	afx_msg void OnButtonshowleft();
	afx_msg void OnButtonshowbottom();
	afx_msg void OnUpdateButtonshowleft(CCmdUI* pCmdUI);
	afx_msg void OnUpdateButtonshowbottom(CCmdUI* pCmdUI);	
	afx_msg void OnFileNew();
	afx_msg void OnClose();
	afx_msg void OnActivate(UINT nState, CWnd* pWndOther, BOOL bMinimized);
	afx_msg void OnFileSave();
	afx_msg void OnTimer(UINT nIDEvent);
	afx_msg void OnHelp();
	afx_msg void OnKeyDown(UINT nChar, UINT nRepCnt, UINT nFlags);
	//}}AFX_MSG
	afx_msg void OnListCtrlClick(NMHDR* pNMHDR, LRESULT* pResult); //列表消息响应函数
	afx_msg void OnSelchangedTree1(NMHDR* pNMHDR, LRESULT* pResult);//树消息响应函数
	afx_msg void OnSelchangeCombo1();//组合筐消息响应函数
	DECLARE_MESSAGE_MAP()
};

/////////////////////////////////////////////////////////////////////////////

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_MAINFRM_H__76422375_2757_425A_BBD6_0E9939D0841E__INCLUDED_)

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -