消息框中显示的按钮
CString str1;
str1.Format(_T("MB_ABORTRETRYIGNORE"), height, width);
AfxMessageBox(str1, MB_ABORTRETRYIGNORE | MB_ICONINFORMATION, 0);

CString str2;
str2.Format(_T("MB_CANCELTRYCONTINUE"), height, width);
AfxMessageBox(str2, MB_CANCELTRYCONTINUE | MB_ICONWARNING, 0);

CString str3;
str3.Format(_T("MB_HELP"), height, width);
AfxMessageBox(str3, MB_HELP | MB_ICONWARNING, 0);

CString str4;
str4.Format(_T("MB_OK "), height, width);
AfxMessageBox(str4, MB_OK | MB_ICONWARNING, 0);

CString str5;
str5.Format(_T("MB_OKCANCEL"), height, width);
AfxMessageBox(str5, MB_OKCANCEL | MB_ICONWARNING, 0);

CString str6;
str6.Format(_T("MB_RETRYCANCEL"), height, width);
AfxMessageBox(str6, MB_RETRYCANCEL | MB_ICONWARNING, 0);

CString str7;
str7.Format(_T("MB_YESNO"), height, width);
AfxMessageBox(str7, MB_YESNO | MB_ICONWARNING, 0);

CString str8;
str8.Format(_T("MB_YESNOCANCEL"), height, width);
AfxMessageBox(str8, MB_YESNOCANCEL | MB_ICONWARNING, 0);

消息框中显示图标
CString str9;
str9.Format(_T("MB_ICONEXCLAMATION"), height, width);
AfxMessageBox(str9, MB_OK | MB_ICONEXCLAMATION, 0);

CString str10;
str10.Format(_T("MB_ICONWARNING"), height, width);
AfxMessageBox(str10, MB_OK | MB_ICONWARNING, 0);

CString str11;
str11.Format(_T("MB_ICONINFORMATION"), height, width);
AfxMessageBox(str11, MB_OK | MB_ICONINFORMATION, 0);

CString str12;
str12.Format(_T("MB_ICONASTERISK"), height, width);
AfxMessageBox(str12, MB_HELP | MB_ICONASTERISK, 0);

CString str13;
str13.Format(_T("MB_ICONQUESTION"), height, width);
AfxMessageBox(str13, MB_HELP | MB_ICONQUESTION, 0);

CString str14;
str14.Format(_T("MB_ICONSTOP"), height, width);
AfxMessageBox(str14, MB_HELP | MB_ICONSTOP, 0);

CString str15;
str15.Format(_T("MB_ICONERROR"), height, width);
AfxMessageBox(str15, MB_HELP | MB_ICONERROR, 0);

CString str16;
str16.Format(_T("MB_ICONHAND"), height, width);
AfxMessageBox(str16, MB_HELP | MB_ICONHAND, 0);
