Display message box.
int OptionalMessage( LPCSTR lpcszMessage, int iBtnOpts, LPCSTR lpcszAuxStr = NULL )
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.
EX1
void OptionalMessage_ex1() { BOOL bDelete = FALSE; if ( OM_RETURN_OK == OptionalMessage( "DestroyOperationWithSource", MB_YESNO ) ) bDelete = TRUE; }
origin.h