MainFrm.h
上传用户:dfwb928
上传日期:2013-04-20
资源大小:228k
文件大小:1k
- // MainFrm.h : interface of the CMainFrame class
- //
- /////////////////////////////////////////////////////////////////////////////
- #if !defined(AFX_MAINFRM_H__65A4B78D_6B91_11D3_96F0_B4809CB3F4D6__INCLUDED_)
- #define AFX_MAINFRM_H__65A4B78D_6B91_11D3_96F0_B4809CB3F4D6__INCLUDED_
- #if _MSC_VER >= 1000
- #pragma once
- #endif // _MSC_VER >= 1000
- #include "EditToolBar.h"
- class CMainFrame : public CFrameWnd {
- protected: // create from serialization only
- CMainFrame();
- DECLARE_DYNCREATE(CMainFrame)
- public:
- int m_iThreshold;
- CToolBar m_wndProtoBar;
- CEditToolBar m_wndToolBar;
- //{{AFX_VIRTUAL(CMainFrame)
- virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
- //}}AFX_VIRTUAL
- public:
- void SetStatusMessage(CString);
- void SetStatusMessage(UINT);
- void PercentComplete(float);
- void DockControlBarLeftOf(CToolBar *, CToolBar *);
- CToolBar *GetToolbar();
- virtual ~CMainFrame();
- #ifdef _DEBUG
- virtual void AssertValid() const;
- virtual void Dump(CDumpContext& dc) const;
- #endif
- protected:
- CStatusBar m_wndStatusBar;
- protected:
- CFont m_cFont;
- //{{AFX_MSG(CMainFrame)
- afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
- afx_msg LRESULT ThreshChange(WPARAM, LPARAM);
- //}}AFX_MSG
- DECLARE_MESSAGE_MAP()
- };
- //{{AFX_INSERT_LOCATION}}
- #endif