📄 maindlg.cpp
字号:
// MainDlg.cpp : 实现文件
//
#include "stdafx.h"
#include "MyVM.h"
#include "MainDlg.h"
CString strMsg;
// CMainDlg
IMPLEMENT_DYNAMIC(CMainDlg, CPropertySheet)
CMainDlg::CMainDlg(UINT nIDCaption, CWnd* pParentWnd, UINT iSelectPage)
:CPropertySheet(nIDCaption, pParentWnd, iSelectPage)
{
}
CMainDlg::CMainDlg(LPCTSTR pszCaption, CWnd* pParentWnd, UINT iSelectPage)
:CPropertySheet(pszCaption, pParentWnd, iSelectPage)
{
this->AddPage(&this->m_pgCtrl);
this->AddPage(&this->m_pgOut);
this->AddPage(&this->m_pgEdit);
this->AddPage(&this->m_pgFS);
this->AddPage(&this->m_pgAbout);
}
CMainDlg::~CMainDlg()
{
}
BEGIN_MESSAGE_MAP(CMainDlg, CPropertySheet)
ON_WM_CLOSE()
END_MESSAGE_MAP()
// CMainDlg 消息处理程序
void CMainDlg::OnClose()
{
CPropertySheet::OnClose();
}
BOOL CMainDlg::OnInitDialog()
{
BOOL bResult = CPropertySheet::OnInitDialog();
//HICON hIcon = ::AfxGetApp()->LoadIcon(IDR_MAINFRAME);
//if(hIcon == 0)
// MessageBox("Error loading icon!");
//this->SetIcon(hIcon,TRUE);
return bResult;
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -