65 lines
1.7 KiB
C
65 lines
1.7 KiB
C
|
// ChildFrm.h : interface of the CChildFrame class
|
||
|
//
|
||
|
/////////////////////////////////////////////////////////////////////////////
|
||
|
|
||
|
#if !defined(AFX_CHILDFRM_H__54A20A14_7B10_4F89_A933_5A8BF763A720__INCLUDED_)
|
||
|
#define AFX_CHILDFRM_H__54A20A14_7B10_4F89_A933_5A8BF763A720__INCLUDED_
|
||
|
|
||
|
#if _MSC_VER > 1000
|
||
|
#pragma once
|
||
|
#endif // _MSC_VER > 1000
|
||
|
|
||
|
#include "ChildView.h"
|
||
|
|
||
|
class CChildFrame : public CMDIChildWnd
|
||
|
{
|
||
|
DECLARE_DYNCREATE(CChildFrame)
|
||
|
public:
|
||
|
CChildFrame();
|
||
|
|
||
|
// Attributes
|
||
|
public:
|
||
|
|
||
|
// Operations
|
||
|
public:
|
||
|
|
||
|
// Overrides
|
||
|
// ClassWizard generated virtual function overrides
|
||
|
//{{AFX_VIRTUAL(CChildFrame)
|
||
|
public:
|
||
|
virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
|
||
|
virtual BOOL OnCmdMsg(UINT nID, int nCode, void* pExtra, AFX_CMDHANDLERINFO* pHandlerInfo);
|
||
|
//}}AFX_VIRTUAL
|
||
|
|
||
|
// Implementation
|
||
|
public:
|
||
|
// view for the client area of the frame.
|
||
|
CChildView m_wndView;
|
||
|
virtual ~CChildFrame();
|
||
|
#ifdef _DEBUG
|
||
|
virtual void AssertValid() const;
|
||
|
virtual void Dump(CDumpContext& dc) const;
|
||
|
#endif
|
||
|
|
||
|
// Generated message map functions
|
||
|
protected:
|
||
|
//{{AFX_MSG(CChildFrame)
|
||
|
afx_msg void OnFileClose();
|
||
|
afx_msg void OnSetFocus(CWnd* pOldWnd);
|
||
|
afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
|
||
|
afx_msg void OnFullMdiMaximized();
|
||
|
afx_msg void OnUpdateFullMdiMaximized(CCmdUI* pCmdUI);
|
||
|
afx_msg void OnGetMinMaxInfo(MINMAXINFO FAR* lpMMI);
|
||
|
//}}AFX_MSG
|
||
|
DECLARE_MESSAGE_MAP()
|
||
|
|
||
|
BOOL m_fFullMdiMax;
|
||
|
};
|
||
|
|
||
|
/////////////////////////////////////////////////////////////////////////////
|
||
|
|
||
|
//{{AFX_INSERT_LOCATION}}
|
||
|
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
|
||
|
|
||
|
#endif // !defined(AFX_CHILDFRM_H__54A20A14_7B10_4F89_A933_5A8BF763A720__INCLUDED_)
|