⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 myvm.cpp

📁 一个简单的虚拟机和虚拟操作系统
💻 CPP
字号:
// MyVM.cpp : 定义应用程序的类行为。
//

#include "stdafx.h"
#include "MyVM.h"
#include "MainDlg.h"

#ifdef _DEBUG
#define new DEBUG_NEW
#endif


// CMyVMApp

BEGIN_MESSAGE_MAP(CMyVMApp, CWinApp)
	ON_COMMAND(ID_HELP, CWinApp::OnHelp)
END_MESSAGE_MAP()


// CMyVMApp 构造

CMyVMApp::CMyVMApp()
{
	// TODO: 在此处添加构造代码,
	// 将所有重要的初始化放置在 InitInstance 中
}
// 唯一的一个 CMyVMApp 对象

CMyVMApp theApp;


// CMyVMApp 初始化

BOOL CMyVMApp::InitInstance()
{
	InitCommonControls();

	CWinApp::InitInstance();

	AfxEnableControlContainer();

	CMainDlg*dlg = new CMainDlg("虚拟机系统");
	dlg->Create(0,0,WS_EX_TOPMOST);//|WS_SIZEBOXWS_CAPTION|WS_MINIMIZEBOX|WS_SYSMENU
	dlg->ShowWindow(SW_SHOW);
	m_pMainWnd = dlg;

	return TRUE;
}

⌨️ 快捷键说明

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