ChildFrm.h
上传用户:hngjqc
上传日期:2007-01-02
资源大小:25k
文件大小:2k
- // ChildFrm.h : interface of the CChildFrame class
- //
- /////////////////////////////////////////////////////////////////////////////
- #if !defined(AFX_CHILDFRM_H__42869FCD_D08F_11D2_A1C8_00A024480D89__INCLUDED_)
- #define AFX_CHILDFRM_H__42869FCD_D08F_11D2_A1C8_00A024480D89__INCLUDED_
- #if _MSC_VER > 1000
- #pragma once
- #endif // _MSC_VER > 1000
- #include "OverwriteStatus.h"
- class CChildFrame : public CMDIChildWnd
- {
- DECLARE_DYNCREATE(CChildFrame)
- public:
- CChildFrame();
- // Attributes
- private:
- COverwriteStatus m_wndStatus;
- BOOL m_bOverwrite;
- // Operations
- public:
- void ChangeOverwrite() {m_bOverwrite = !m_bOverwrite;}
- BOOL IsOverwrite() const {return m_bOverwrite;}
- // Overrides
- // ClassWizard generated virtual function overrides
- //{{AFX_VIRTUAL(CChildFrame)
- public:
- virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
- protected:
- virtual BOOL OnCreateClient(LPCREATESTRUCT lpcs, CCreateContext* pContext);
- //}}AFX_VIRTUAL
- // Implementation
- public:
- virtual ~CChildFrame();
- #ifdef _DEBUG
- virtual void AssertValid() const;
- virtual void Dump(CDumpContext& dc) const;
- #endif
- // Generated message map functions
- protected:
- //{{AFX_MSG(CChildFrame)
- // NOTE - the ClassWizard will add and remove member functions here.
- // DO NOT EDIT what you see in these blocks of generated code!
- afx_msg void OnUpdateOverwrite(CCmdUI *pCmdUI);
- //}}AFX_MSG
- DECLARE_MESSAGE_MAP()
- };
- /////////////////////////////////////////////////////////////////////////////
- //{{AFX_INSERT_LOCATION}}
- // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
- #endif // !defined(AFX_CHILDFRM_H__42869FCD_D08F_11D2_A1C8_00A024480D89__INCLUDED_)