标签:alt main mds width img height box clu 提示
1、实现弹出如下样式的提示框:
2、实现弹出的字符串内容通过exe参数传进去,例如:
#include <Windows.h> #include <tchar.h> int WINAPI _tWinMain(HINSTANCE hInstance, HINSTANCE hPreInstance, LPTSTR lpCmdLine, int nCmdShow) { //MessageBox(NULL, _T("这是我在VC驿站学习的第一个程序!\nVC驿站的网址是www.cctry.com\n欢迎光临"), // _T("cctry.com") , MB_ABORTRETRYIGNORE | MB_ICONWARNING | MB_DEFBUTTON2); MessageBox(NULL, lpCmdLine, _T("标题"), MB_OK); return 0; }
标签:alt main mds width img height box clu 提示
原文地址:https://www.cnblogs.com/SakuraQAQ/p/14290431.html