MainFrm.h
上传用户:xsxdsb
上传日期:2009-12-14
资源大小:672k
文件大小:1k
源码类别:

书籍源码

开发平台:

Visual C++

  1. // MainFrm.h : interface of the CMainFrame class
  2. //
  3. /////////////////////////////////////////////////////////////////////////////
  4. #if !defined(AFX_MAINFRM_H__E9471AC9_6390_11D6_8F32_00E04CE76240__INCLUDED_)
  5. #define AFX_MAINFRM_H__E9471AC9_6390_11D6_8F32_00E04CE76240__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. #ifdef _DEBUG
  27. virtual void AssertValid() const;
  28. virtual void Dump(CDumpContext& dc) const;
  29. #endif
  30. protected:  // control bar embedded members
  31. CStatusBar  m_wndStatusBar;
  32. CToolBar    m_wndToolBar;
  33. // Generated message map functions
  34. protected:
  35. //{{AFX_MSG(CMainFrame)
  36. afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
  37. afx_msg void OnHardwareinfo();
  38. //}}AFX_MSG
  39. DECLARE_MESSAGE_MAP()
  40. };
  41. /////////////////////////////////////////////////////////////////////////////
  42. //{{AFX_INSERT_LOCATION}}
  43. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  44. #endif // !defined(AFX_MAINFRM_H__E9471AC9_6390_11D6_8F32_00E04CE76240__INCLUDED_)