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