MainFrm.h
上传用户:heseme
上传日期:2009-12-23
资源大小:228k
文件大小:2k
开发平台:

Visual C++

  1. // MainFrm.h : interface of the CMainFrame class
  2. //
  3. /////////////////////////////////////////////////////////////////////////////
  4. #if !defined(AFX_MAINFRM_H__9D269EE9_A406_11D4_8595_00D00912B25C__INCLUDED_)
  5. #define AFX_MAINFRM_H__9D269EE9_A406_11D4_8595_00D00912B25C__INCLUDED_
  6. //#include "FireWall1View.h" // Added by ClassView
  7. #if _MSC_VER > 1000
  8. #pragma once
  9. #endif // _MSC_VER > 1000
  10. class CMainFrame : public CFrameWnd
  11. {
  12. protected: // create from serialization only
  13. CMainFrame();
  14. DECLARE_DYNCREATE(CMainFrame)
  15. // Attributes
  16. public:
  17. // Operations
  18. public:
  19. BOOL MyTaskBarDelIcon(HWND hwnd, UINT uID);
  20. // Overrides
  21. // ClassWizard generated virtual function overrides
  22. //{{AFX_VIRTUAL(CMainFrame)
  23. public:
  24. virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
  25. virtual BOOL OnCmdMsg(UINT nID, int nCode, void* pExtra, AFX_CMDHANDLERINFO* pHandlerInfo);
  26. protected:
  27. virtual BOOL OnCreateClient(LPCREATESTRUCT lpcs, CCreateContext* pContext);
  28. //}}AFX_VIRTUAL
  29. // Implementation
  30. public:
  31. // CFireWall1View m_myView;
  32. BOOL MyTaskChangeIcon(HWND hwnd, UINT uID);
  33. virtual ~CMainFrame();
  34. #ifdef _DEBUG
  35. virtual void AssertValid() const;
  36. virtual void Dump(CDumpContext& dc) const;
  37. #endif
  38. protected:  // control bar embedded members
  39. CStatusBar  m_wndStatusBar;
  40. CToolBar    m_wndToolBar;
  41. // Generated message map functions
  42. protected:
  43. //{{AFX_MSG(CMainFrame)
  44. afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
  45. afx_msg void OnStopLog();
  46. afx_msg void OnUpdateStopLog(CCmdUI* pCmdUI);
  47. afx_msg LRESULT MyTaskBarProc(WPARAM wParam,LPARAM lParam);
  48. afx_msg void OnDestroy();
  49. afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
  50. //}}AFX_MSG
  51. // afx_msg LRESULT OnLogView(WPARAM wParam,LPARAM lParam);
  52. DECLARE_MESSAGE_MAP()
  53. };
  54. /////////////////////////////////////////////////////////////////////////////
  55. //{{AFX_INSERT_LOCATION}}
  56. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  57. #endif // !defined(AFX_MAINFRM_H__9D269EE9_A406_11D4_8595_00D00912B25C__INCLUDED_)