AfxMessageBox() will use 'm_pszAppName' as the title name. The best way is to use MessageBox(). If you want to use resource as input message, here's an example: int MyMessageBox(UINT nIDPrompt,LPCTSTR lpszTitle, UINT nType) { HMODULE hThisApp; DWORD dwLen,dwBufSize; int nResult; hThisApp=AfxGetInstanceHandle(); _TCHAR *lpszText=NULL; dwBufSize=0; do { delete [] lpszText; dwBufSize+=256; lpszText=new _TCHAR[dwBufSize]; dwLen=LoadString(hThisApp,nIDPrompt,lpszText,dwBufSize); } while((0!=dwLen)&&(dwLen+sizeof(_TCHAR)==dwBufSize)); nResult=MessageBox(GetActiveWindow(),lpszText,lpszTitle,nType|MB_TASKMODAL); delete [] lpszText; return nResult; } Best Regards, K Wan