ClassesClassesClassesClasses | | | | Operators

message_boxmessage_boxMessageBoxmessage_boxMessageBoxMessageBox (Operator)

Name

message_boxmessage_boxMessageBoxmessage_boxMessageBoxMessageBox — Shows a message box.

Signature

message_box( : : Title, Message, DisplayButtons, IconName : ButtonSelected)

Herror message_box(const char* Title, const char* Message, const char* DisplayButtons, const char* IconName, char* ButtonSelected)

Herror T_message_box(const Htuple Title, const Htuple Message, const Htuple DisplayButtons, const Htuple IconName, Htuple* ButtonSelected)

Herror message_box(const HTuple& Title, const HTuple& Message, const HTuple& DisplayButtons, const HTuple& IconName, char* ButtonSelected)

void MessageBox(const HTuple& Title, const HTuple& Message, const HTuple& DisplayButtons, const HTuple& IconName, HTuple* ButtonSelected)

void HNotificationX.MessageBox(
[in] VARIANT Title, [in] VARIANT Message, [in] VARIANT DisplayButtons, [in] VARIANT IconName, [out] VARIANT* ButtonSelected)

static void HNotification.MessageBox(HTuple title, HTuple message, HTuple displayButtons, HTuple iconName, out HTuple buttonSelected)

Description

message_boxmessage_boxMessageBoxmessage_boxMessageBoxMessageBox shows a message box.

If DisplayButtonsDisplayButtonsDisplayButtonsDisplayButtonsDisplayButtonsdisplayButtons is set to '' or [], the default button configuration is used. On Windows, this corresponds to the button 'OK'.

If IconNameIconNameIconNameIconNameIconNameiconName is set to '' or [], no icon is shown.

Find more information about the Notification extension package in the introduction to this chapter.

Parallelization

Parameters

TitleTitleTitleTitleTitletitle (input_control)  string HTupleHTupleHTupleVARIANTHtuple (string) (string) (HString) (char*) (BSTR) (char*)

title

Default value: 'title' "title" "title" "title" "title" "title"

MessageMessageMessageMessageMessagemessage (input_control)  string HTupleHTupleHTupleVARIANTHtuple (string) (string) (HString) (char*) (BSTR) (char*)

message

Default value: 'message' "message" "message" "message" "message" "message"

DisplayButtonsDisplayButtonsDisplayButtonsDisplayButtonsDisplayButtonsdisplayButtons (input_control)  string HTupleHTupleHTupleVARIANTHtuple (string) (string) (HString) (char*) (BSTR) (char*)

message

Default value: 'ok' "ok" "ok" "ok" "ok" "ok"

Suggested values: 'abortretryignore'"abortretryignore""abortretryignore""abortretryignore""abortretryignore""abortretryignore", 'canceltrycontinue'"canceltrycontinue""canceltrycontinue""canceltrycontinue""canceltrycontinue""canceltrycontinue", 'ok'"ok""ok""ok""ok""ok", 'okcancel'"okcancel""okcancel""okcancel""okcancel""okcancel", 'retrycancel'"retrycancel""retrycancel""retrycancel""retrycancel""retrycancel", 'yesno'"yesno""yesno""yesno""yesno""yesno", 'yesnocancel'"yesnocancel""yesnocancel""yesnocancel""yesnocancel""yesnocancel"

IconNameIconNameIconNameIconNameIconNameiconName (input_control)  string HTupleHTupleHTupleVARIANTHtuple (string) (string) (HString) (char*) (BSTR) (char*)

message

Default value: []

Suggested values: 'exclamation'"exclamation""exclamation""exclamation""exclamation""exclamation", 'warning'"warning""warning""warning""warning""warning", 'information'"information""information""information""information""information", 'asterisk'"asterisk""asterisk""asterisk""asterisk""asterisk", 'question'"question""question""question""question""question", 'stop'"stop""stop""stop""stop""stop", 'error'"error""error""error""error""error", 'hand'"hand""hand""hand""hand""hand"

ButtonSelectedButtonSelectedButtonSelectedButtonSelectedButtonSelectedbuttonSelected (output_control)  string HTupleHTupleHTupleVARIANTHtuple (string) (string) (HString) (char*) (BSTR) (char*)

text of the selected button

Suggested values: 'abort'"abort""abort""abort""abort""abort", 'cancel'"cancel""cancel""cancel""cancel""cancel", 'continue'"continue""continue""continue""continue""continue", 'ignore'"ignore""ignore""ignore""ignore""ignore", 'no'"no""no""no""no""no", 'ok'"ok""ok""ok""ok""ok", 'retry'"retry""retry""retry""retry""retry", 'tryagain'"tryagain""tryagain""tryagain""tryagain""tryagain", 'yes'"yes""yes""yes""yes""yes"

Module

Foundation


ClassesClassesClassesClasses | | | | Operators