【お知らせ】この部分は英語原文のみでの提供となります。何卒ご了承ください。
2.1.27.23 OptionalMessage
Contents
Description
Display message box.
Syntax
int OptionalMessage( LPCSTR lpcszMessage, int iBtnOpts, LPCSTR lpcszAuxStr = NULL )
Parameters
- lpcszMessage
- [input]Keyword for the text of the message to display.
- iBtnOpts
- [input] Message box style; can be one of: MB_OK, MB_OKCANCEL, MB_YESNO, MB_YESNOCANCEL
- lpcszAuxStr
- [input] Optional string - reserved.
Return
User choice; can be one of: OM_RETURN_NOT_PRESENT, OM_RETURN_YNC_CANCEL, OM_RETURN_OK, OM_RETURN_CANCEL, OM_RETURN_YES, OM_RETURN_NO.
Examples
EX1
void OptionalMessage_ex1() { BOOL bDelete = FALSE; if ( OM_RETURN_OK == OptionalMessage( "DestroyOperationWithSource", MB_YESNO ) ) bDelete = TRUE; }
Remark
See Also
Header to Include
origin.h