mainfrm.h

来自「一个学生考试成绩管理的半成品」· C头文件 代码 · 共 60 行

H
60
字号
// MainFrm.h : CMainFrame 类的接口
//
#include "MyLeftView.h"
#include "MyDownView.h"
#include "ScoreGatherView.h"
#include "SplitterWndEx.h"
#include "SplitterWndEx1.h"
#include "MyToolBar.h"
#include "MyStatusBar.h"

#pragma once
class CMainFrame : public CFrameWnd
{
	
protected: // 仅从序列化创建
	CMainFrame();
	DECLARE_DYNCREATE(CMainFrame)

// 属性
public:
	CMyLeftView* m_pMyLeftView;
	CMyDownView* m_pMyDownView;
	CScoreGatherView* m_pScoreGatherView;

// 操作
public:

// 重写
public:
	virtual BOOL PreCreateWindow(CREATESTRUCT& cs);

// 实现
public:
	virtual ~CMainFrame();
#ifdef _DEBUG
	virtual void AssertValid() const;
	virtual void Dump(CDumpContext& dc) const;
#endif

protected:  // 控件条嵌入成员
	CMyStatusBar  m_wndStatusBar;
	CMyToolBar    m_wndToolBar;
	CSplitterWndEx m_wndSplitter;
	CSplitterWndEx1 m_wndSplitter1;
	CStringArray week;

// 生成的消息映射函数
protected:
	afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
	DECLARE_MESSAGE_MAP()
	virtual BOOL OnCreateClient(LPCREATESTRUCT lpcs, CCreateContext* pContext);
public:
	afx_msg void OnCloseSystem();
	afx_msg void OnTimer(UINT nIDEvent);
	afx_msg void OnDestroy();
	CString StatusGetLunarDate(void);
};


⌨️ 快捷键说明

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