#include <windows.h>
MessageBox(NULL, "提示内容!", "提示标题", MB_ICONHAND);//错误
MessageBox(NULL, "提示内容!", "提示标题", MB_ICONQUESTION);//问号
MessageBox(NULL, "提示内容!", "提示标题", MB_ICONEXCLAMATION);//三角型感叹号
MessageBox(NULL, "提示内容!", "提示标题", MB_ICONASTERISK);//圆形感叹号
#include <uf.h> #include <afxwin.h> #include <windows.h> int ufusr_ask_unload() { return (UF_UNLOAD_IMMEDIATELY); } void ufusr(char* param, int* retCode, int paramLen) { MessageBox(NULL, "提示内容!", "提示标题", MB_ICONHAND);//错误 MessageBox(NULL, "提示内容!", "提示标题", MB_ICONQUESTION);//问号 MessageBox(NULL, "提示内容!", "提示标题", MB_ICONEXCLAMATION);//三角型感叹号 MessageBox(NULL, "讲英语!", "提示标题", MB_ICONASTERISK);//圆形感叹号 }