📄 childfrm.h
字号:
/********************************************************************
filename: d:\spatools\childfrm.h
Copyright (c) 2003 Chao Zuo. All rights reserved.
Email: suncho@vip.sina.com
Notice: If this code works, it was written by Chao Zuo.
Else, I don't know who wrote it.
I Wrote this code for all software developers in civil engineering,
and hope it help you.
Have any question, please email me.
*********************************************************************/
#ifndef __HELLO_H__
#define __HELLO_H__
/////////////////////////////////////////////////////////////////////////////
// class CChildFrame
#include "FormBeamSecDlg.h"
#include "OutResultDlg.h"
#include "FormBeamLieFeng.h"
#include "FormColumnStrengthDlg.h"
#include "FormCircleStrengthDlg.h"
#include "FormWallStrengthDlg.h"
#include "HelpDialog.h"
#include "HelpDlg.h"
class CChildFrame : public CMDIChildWnd
{
DECLARE_DYNCREATE(CChildFrame)
public:
CChildFrame();
BOOL Create(LPCTSTR szTitle,int iSel,LONG style = 0,
const RECT& rect = rectDefault,
CMDIFrameWnd* pParent = NULL);
private:
CHelpDlg* m_pHelpDialog; // modeless Help dialog
COutResultDlg *pOutResultDlg;
CFormBeamSecDlg *m_pFormBeamSecDlg;
CFormBeamLieFeng *m_pFormBeamLieFengDlg;
CFormColumnStrengthDlg *m_pFormColumnStrengthDlg;
CFormCircleStrengthDlg *m_pFormCircleStrengthDlg;
CFormWallStrengthDlg *m_pFormWallStrengthDlg;
public:
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CChildFrame)
public:
virtual void ActivateFrame(int nCmdShow = -1);
protected:
virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
//}}AFX_VIRTUAL
// Implementation
protected:
static CMenu NEAR menu; // menu for all HELLO windows
UINT m_nIDColor;
COLORREF m_clrText;
// message handlers
//{{AFX_MSG(CChildFrame)
afx_msg void OnPaint();
afx_msg void OnMDIActivate(BOOL bActivate, CWnd* pActivateWnd, CWnd* pDeactivateWnd);
afx_msg void OnDestroy();
afx_msg void OnSize(UINT nType, int cx, int cy);
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
/////////////////////////////////////////////////////////////////////////////
#endif // __HELLO_H__
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -