msgbox.h
来自「实时监控」· C头文件 代码 · 共 15 行
H
15 行
#ifndef _MSGBOX_H
#define _MSGBOX_H
static int msgbox(UINT idsText, UINT idsTitle, UINT flags, CWnd* p = NULL)
{
HWND parent = GetDesktopWindow();
if( p )
parent = p->m_hWnd;
CString text, title;
text.LoadString(idsText);
title.LoadString(idsTitle);
return MessageBox(parent, text, title, flags);
}
#endif // _MSGBOX_H
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?