📄 errorprint.cpp
字号:
#include "stdafx.h"
#include "errorprint.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
void ErrorMsg(LPCTSTR lpszFormat, ...)
{
ASSERT(AfxIsValidString(lpszFormat));
va_list argList;
va_start(argList, lpszFormat);
CString str;
str.FormatV(lpszFormat, argList);
::AfxMessageBox(str, MB_OK | MB_ICONEXCLAMATION);
va_end(argList);
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -