SECAgentCharacterExPtr::MessageBox
intSECAgentCharacterExPtr::MessageBox(LPCTSTRlpszPrompt, UINTnType, UINTnIDHelp, UINTnInterruptType)
Displays an agent enabled Message box.
Defined in: ot_agent.cpp
Return Value
Return value from the AfxMessageBox call. If nInterruptType has NoMessageBox then the return value will be ID_OK.
Parameters
lpszPrompt
Points to a CString object or null-terminated string containing the message to be displayed in the message box.
nType
The style of the message box. Apply any of the message-box styles to the box.
nIDHelp
The Help-context ID for the message; 0 indicates the application’s default Help context will be used.
nInterruptType
Can be one of MBoxInterruptType, except StoreMessage. You have to always combine NoMessageBox type with other types.
Comments
You can use this to display a message box and make the character read out the text. Or not display the message box and make the agent speak out the text. MB_OK*/, UINT nIDHelp /*= 0*/, UINT nInterruptType /*= CharReadOut*/)