ChildFrm.h
上传用户:kssdz899
上传日期:2007-01-08
资源大小:79k
文件大小:2k
- // ChildFrm.h : interface of the CChildFrame class
- //
- /////////////////////////////////////////////////////////////////////////////
- #if !defined(AFX_CHILDFRM_H__F4BEBDC0_CCC8_11D3_A836_00104BA829E5__INCLUDED_)
- #define AFX_CHILDFRM_H__F4BEBDC0_CCC8_11D3_A836_00104BA829E5__INCLUDED_
- #if _MSC_VER > 1000
- #pragma once
- #endif // _MSC_VER > 1000
- //////////////
- // custom caption include
- //
- #include "..CustomCaptionMultiLineCaptionEx.h"
- class CChildFrame : public CMDIChildWnd
- {
- DECLARE_DYNCREATE(CChildFrame)
- public:
- CChildFrame();
- // Attributes
- public:
- /////////////
- // This function gives external access to the caption
- //
- CMultiLineCaption& GetCaption();
- // Operations
- public:
-
- // Overrides
- // ClassWizard generated virtual function overrides
- //{{AFX_VIRTUAL(CChildFrame)
- virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
- //}}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 int OnCreate(LPCREATESTRUCT lpCreateStruct);
- //}}AFX_MSG
- DECLARE_MESSAGE_MAP()
- private:
- ////////////
- // Declare a caption object (this one is a multi-line caption)
- //
- CMultiLineCaptionEx m_Caption;
- };
- /////////////////////////////////////////////////////////////////////////////
- //{{AFX_INSERT_LOCATION}}
- // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
- #endif // !defined(AFX_CHILDFRM_H__F4BEBDC0_CCC8_11D3_A836_00104BA829E5__INCLUDED_)