It is used to used show the logout message box
Example code
CString strName; strName=strUserLoginName; CString strMsg(strName); strMsg+=_T(" Logged out"); AfxMessageBox(strMsg); return S_OK;