📄 aboutdlg.cpp
字号:
#include "stdafx.h"
#include "dialog.h"
#include "aboutdlg.h"
CAboutDlg::CAboutDlg()
{
}
CAboutDlg::~CAboutDlg()
{
}
void CAboutDlg::SetTemplateID()
{
m_uIDTemplate = IDD;
}
LRESULT CALLBACK CAboutDlg::WndProc(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
{
return CDialog::WndProc(hwnd, uMsg, wParam, lParam);
}
//HANDLE_WM_INITDIALOG
bool CAboutDlg::OnInitDialog(HWND hwnd, HWND hwndFocus, LPARAM lParam)
{
CDialog::OnInitDialog(hwnd, hwndFocus, lParam);
TCHAR szTitle1[80];
TCHAR szTitle2[80];
LoadString(g_hInstance, IDS_ABOUT, szTitle1, 80);
LoadString(g_hInstance, IDS_MAINFRAME, szTitle2, 80);
_tcscat(szTitle1, szTitle2);
SetTitle(szTitle1);
return true;
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -