62 lines
1.5 KiB
C++
62 lines
1.5 KiB
C++
// ChildFrm.h : interface of the CChildFrame class
|
|
//
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
#if !defined(AFX_CHILDFRM_H__E5C751CB_9965_11D6_874C_0050228CE6CB__INCLUDED_)
|
|
#define AFX_CHILDFRM_H__E5C751CB_9965_11D6_874C_0050228CE6CB__INCLUDED_
|
|
|
|
#if _MSC_VER > 1000
|
|
#pragma once
|
|
#endif // _MSC_VER > 1000
|
|
|
|
|
|
class CChildFrame : public CMDIChildWnd
|
|
{
|
|
DECLARE_DYNCREATE(CChildFrame)
|
|
public:
|
|
CChildFrame();
|
|
|
|
// Attributes
|
|
public:
|
|
BOOL m_bActivate;
|
|
|
|
// Operations
|
|
public:
|
|
|
|
// Overrides
|
|
// ClassWizard generated virtual function overrides
|
|
//{{AFX_VIRTUAL(CChildFrame)
|
|
public:
|
|
virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
|
|
virtual void ActivateFrame(int nCmdShow = -1);
|
|
virtual BOOL PreTranslateMessage(MSG* pMsg);
|
|
protected:
|
|
virtual LRESULT WindowProc(UINT message, WPARAM wParam, LPARAM lParam);
|
|
//}}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)
|
|
afx_msg void OnNcPaint();
|
|
afx_msg BOOL OnNcActivate(BOOL bActive);
|
|
//}}AFX_MSG
|
|
afx_msg LRESULT OnGetToolTip(WPARAM, LPARAM);
|
|
|
|
|
|
DECLARE_MESSAGE_MAP()
|
|
};
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
//{{AFX_INSERT_LOCATION}}
|
|
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
|
|
|
|
#endif // !defined(AFX_CHILDFRM_H__E5C751CB_9965_11D6_874C_0050228CE6CB__INCLUDED_)
|