childfrm.h

来自「一个完整的编辑器的代码(很值得参考」· C头文件 代码 · 共 75 行

H
75
字号
///////////////////////////////////////////////////////////////////////////
//  File:    childfrm.h
//  Version: 1.1.0.4
//  Updated: 19-Jul-1998
//
//  Child frame core
//
//  Copyright:  Ferdinand Prantl, portions by Stcherbatchenko Andrei
//  E-mail:     prantl@ff.cuni.cz
//
//  You are free to use or modify this code to the following restrictions:
//  - Acknowledge me somewhere in your about box, simple "Parts of code by.."
//  will be enough. If you can't (or don't want to), contact me personally.
//  - LEAVE THIS HEADER INTACT
////////////////////////////////////////////////////////////////////////////

// childfrm.h : interface of the CChildFrame class
//
/////////////////////////////////////////////////////////////////////////////

#if !defined(AFX_CHILDFRM_H__C9FC90CB_018F_11D3_9ACA_00600875DD5F__INCLUDED_)
#define AFX_CHILDFRM_H__C9FC90CB_018F_11D3_9ACA_00600875DD5F__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000


class CChildFrame : public CMDIChildWnd
  {
    DECLARE_DYNCREATE (CChildFrame)
public :
    CChildFrame ();

    // Attributes
protected :
    CSplitterWnd m_wndSplitter;
public :
  BOOL m_bFirstShown;
    // Operations
public :

    // Overrides
    // ClassWizard generated virtual function overrides
    //{{AFX_VIRTUAL(CChildFrame)
public :
    virtual BOOL OnCreateClient (LPCREATESTRUCT lpcs, CCreateContext * pContext);
    virtual BOOL PreCreateWindow (CREATESTRUCT & cs);
    virtual void ActivateFrame(int nCmdShow = -1);
    //}}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 OnShowWindow(BOOL bShow, UINT nStatus);
	afx_msg void OnClose();
	//}}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__C9FC90CB_018F_11D3_9ACA_00600875DD5F__INCLUDED_)

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?