MainFrm.h
上传用户:shlanyl88
上传日期:2013-03-14
资源大小:147k
文件大小:1k
- // MainFrm.h : interface of the CMainFrame class
- //
- #pragma once
- #include "ChildView.h"
- class CMainFrame : public CFrameWnd
- {
-
- public:
- CMainFrame();
- protected:
- DECLARE_DYNAMIC(CMainFrame)
- // Attributes
- public:
- // Operations
- public:
- // Overrides
- public:
- virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
- virtual BOOL OnCmdMsg(UINT nID, int nCode, void* pExtra, AFX_CMDHANDLERINFO* pHandlerInfo);
- // Implementation
- public:
- virtual ~CMainFrame();
- #ifdef _DEBUG
- virtual void AssertValid() const;
- virtual void Dump(CDumpContext& dc) const;
- #endif
- CChildView m_wndView;
- // Generated message map functions
- protected:
- afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
- afx_msg void OnSetFocus(CWnd *pOldWnd);
- DECLARE_MESSAGE_MAP()
- };