MainFrm.h
上传用户:shuijing
上传日期:2011-09-19
资源大小:90k
文件大小:2k
源码类别:

图形图像处理

开发平台:

Visual C++

  1. // MainFrm.h : interface of the CMainFrame class
  2. //
  3. /////////////////////////////////////////////////////////////////////////////
  4. #if !defined(AFX_MAINFRM_H__26B10759_D7EF_4E8F_AAF1_EC9B517A3F6C__INCLUDED_)
  5. #define AFX_MAINFRM_H__26B10759_D7EF_4E8F_AAF1_EC9B517A3F6C__INCLUDED_
  6. #if _MSC_VER > 1000
  7. #pragma once
  8. #endif // _MSC_VER > 1000
  9. class CMainFrame : public CFrameWnd
  10. {
  11. protected: // create from serialization only
  12. CMainFrame();
  13. DECLARE_DYNCREATE(CMainFrame)
  14. // Attributes
  15. public:
  16. // Operations
  17. public:
  18. // Overrides
  19. // ClassWizard generated virtual function overrides
  20. //{{AFX_VIRTUAL(CMainFrame)
  21. virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
  22. //}}AFX_VIRTUAL
  23. // Implementation
  24. public:
  25. virtual ~CMainFrame();
  26. public:
  27. void DockControlBarLeftOf(CToolBar* Bar,CToolBar* LeftOf);
  28. #ifdef _DEBUG
  29. virtual void AssertValid() const;
  30. virtual void Dump(CDumpContext& dc) const;
  31. #endif
  32. protected:  // control bar embedded members
  33. CStatusBar  m_wndStatusBar;
  34. CToolBar    m_wndToolBar;
  35. CToolBar    m_wndToolBar1;
  36. private:
  37. HICON m_nicon[3];
  38. BOOL mcheck;
  39. // Generated message map functions
  40. protected:
  41. //{{AFX_MSG(CMainFrame)
  42. afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
  43. afx_msg void OnTimer(UINT nIDEvent);
  44. afx_msg void OnViewPichandletoolbar();
  45. afx_msg void OnUpdateViewPichandletoolbar(CCmdUI* pCmdUI);
  46. afx_msg void OnInitMenu(CMenu* pMenu);
  47. //}}AFX_MSG
  48. DECLARE_MESSAGE_MAP()
  49. };
  50. /////////////////////////////////////////////////////////////////////////////
  51. //{{AFX_INSERT_LOCATION}}
  52. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  53. #endif // !defined(AFX_MAINFRM_H__26B10759_D7EF_4E8F_AAF1_EC9B517A3F6C__INCLUDED_)