📄 msgbox.cpp
字号:
//
// MsgBox.cpp - cMsgBox implementation
// Rev. 2
//
// by Razorfish (razorfish2k@bigfoot.com)
// ------------------------------------------------------------------
#define STRICT
#pragma warning( disable : 4201 4514)
#include <windows.h>
#include "GenClass.h"
cMsgBox::cMsgBox(TCHAR *ptcM, TCHAR *ptcT)
{
ptcMsg = ptcM;
ptcTitle = ptcT;
uiStyle = MB_OK | MB_ICONINFORMATION | MB_DEFBUTTON1;
}
cMsgBox::~cMsgBox()
{
// Class Destructor
}
int cMsgBox::setStyle(UINT uiS)
{
uiStyle = uiS;
return 0;
}
int cMsgBox::show(void)
{
return MessageBox(NULL, ptcMsg, ptcTitle, uiStyle);
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -