MainFrm.h
上传用户:hbytqc8
上传日期:2014-07-31
资源大小:527k
文件大小:2k
- // MainFrm.h : interface of the CMainFrame class
- //
- /////////////////////////////////////////////////////////////////////////////
- #if !defined(AFX_MAINFRM_H__745915D4_4B0E_482D_8914_5FBDE7369AD9__INCLUDED_)
- #define AFX_MAINFRM_H__745915D4_4B0E_482D_8914_5FBDE7369AD9__INCLUDED_
- #if _MSC_VER > 1000
- #pragma once
- #endif // _MSC_VER > 1000
- #define WM_NOTIFYICON WM_USER+1
- class CMainFrame : public CFrameWnd
- {
-
- protected: // create from serialization only
- CMainFrame();
- DECLARE_DYNCREATE(CMainFrame)
- // Attributes
- public:
- // Operations
- public:
- //CTrapView *pTrapView;
- // Overrides
- // ClassWizard generated virtual function overrides
- //{{AFX_VIRTUAL(CMainFrame)
- virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
- //}}AFX_VIRTUAL
- // Implementation
- public:
- virtual ~CMainFrame();
- CStatusBar m_wndStatusBar;
- #ifdef _DEBUG
- virtual void AssertValid() const;
- virtual void Dump(CDumpContext& dc) const;
- #endif
- protected: // control bar embedded members
- CToolBar m_wndToolBar;
- HICON m_hIcon;
- protected:
- //{{AFX_MSG(CMainFrame)
- afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
- afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
- afx_msg void OnDestroy();
- afx_msg void OnNotifyIcon(WPARAM wParam, LPARAM lParam);
- //}}AFX_MSG
- DECLARE_MESSAGE_MAP()
- };
- /////////////////////////////////////////////////////////////////////////////
- //{{AFX_INSERT_LOCATION}}
- // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
- #endif // !defined(AFX_MAINFRM_H__745915D4_4B0E_482D_8914_5FBDE7369AD9__INCLUDED_)