AfxMessageBox用法对吗?该怎么处理
AfxMessageBox用法对吗?C/C++ codeCString strerrorAfxMessageBox(str,warning,MB_OK)[解决办法]回
AfxMessageBox用法对吗?
C/C++ codeCString str="error";AfxMessageBox(str,"warning",MB_OK);
[解决办法]回复于:2012-08-06 13:23:20MSDN一下,一切清楚。
AfxMessageBox
int AfxMessageBox( LPCTSTR lpszText, UINT nType = MB_OK, UINT nIDHelp = 0 );
int AFXAPI AfxMessageBox( UINT nIDPrompt, UINT nType = MB_OK, UINT nIDHelp = (UINT) -1 );
AfxMessageBox的应用程序标题不需要,默认为项目名。
MessageBox才是如此用法。