MainFrm.h
上传用户:zjyq009
上传日期:2022-07-10
资源大小:3154k
文件大小:2k
源码类别:

图形/文字识别

开发平台:

Visual C++

  1. // MainFrm.h : interface of the CMainFrame class
  2. //
  3. /////////////////////////////////////////////////////////////////////////////
  4. #if !defined(AFX_MAINFRM_H__F53C244E_6C50_4C38_A2AA_717425B1CD35__INCLUDED_)
  5. #define AFX_MAINFRM_H__F53C244E_6C50_4C38_A2AA_717425B1CD35__INCLUDED_
  6. #if _MSC_VER > 1000
  7. #pragma once
  8. #endif // _MSC_VER > 1000
  9. #include "ChildView.h"
  10. class CMainFrame : public CFrameWnd
  11. {
  12. public:
  13. CMainFrame();
  14. protected: 
  15. DECLARE_DYNAMIC(CMainFrame)
  16. CStatusBar  m_wndStatusBar;
  17. // Attributes
  18. public:
  19. // Operations
  20. public:
  21. // Overrides
  22. // ClassWizard generated virtual function overrides
  23. //{{AFX_VIRTUAL(CMainFrame)
  24. virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
  25. virtual BOOL OnCmdMsg(UINT nID, int nCode, void* pExtra, AFX_CMDHANDLERINFO* pHandlerInfo);
  26. //}}AFX_VIRTUAL
  27. // Implementation
  28. public:
  29. virtual ~CMainFrame();
  30. #ifdef _DEBUG
  31. virtual void AssertValid() const;
  32. virtual void Dump(CDumpContext& dc) const;
  33. #endif
  34. protected:  // control bar embedded members
  35. CToolBar    m_wndToolBar;
  36. CChildView    m_wndView;
  37. // Generated message map functions
  38. protected:
  39. //{{AFX_MSG(CMainFrame)
  40. afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
  41. afx_msg void OnSetFocus(CWnd *pOldWnd);
  42. afx_msg void OnMid();
  43. //}}AFX_MSG
  44. DECLARE_MESSAGE_MAP()
  45. };
  46. /////////////////////////////////////////////////////////////////////////////
  47. //{{AFX_INSERT_LOCATION}}
  48. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  49. #endif // !defined(AFX_MAINFRM_H__F53C244E_6C50_4C38_A2AA_717425B1CD35__INCLUDED_)