menubar.cpp

来自「This file can be directly edited in Micr」· C++ 代码 · 共 60 行

CPP
60
字号
// MenuBar.cpp : implementation file
//

#include "stdafx.h"
#include "Diamond.h"
#include "MenuBar.h"

#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif

/////////////////////////////////////////////////////////////////////////////
// CMenuBar

IMPLEMENT_DYNCREATE(CMenuBar, CView)

CMenuBar::CMenuBar()
{
}

CMenuBar::~CMenuBar()
{
}


BEGIN_MESSAGE_MAP(CMenuBar, CView)
	//{{AFX_MSG_MAP(CMenuBar)
	//}}AFX_MSG_MAP
END_MESSAGE_MAP()

/////////////////////////////////////////////////////////////////////////////
// CMenuBar drawing

void CMenuBar::OnDraw(CDC* pDC)
{
	CDocument* pDoc = GetDocument();
	// TODO: add draw code here
}

/////////////////////////////////////////////////////////////////////////////
// CMenuBar diagnostics

#ifdef _DEBUG
void CMenuBar::AssertValid() const
{
	CView::AssertValid();
}

void CMenuBar::Dump(CDumpContext& dc) const
{
	CView::Dump(dc);
}
#endif //_DEBUG

/////////////////////////////////////////////////////////////////////////////
// CMenuBar message handlers

⌨️ 快捷键说明

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