KlassenKlassenKlassenKlassen | | | | Operatoren

message_boxmessage_boxMessageBoxmessage_boxMessageBoxMessageBox (Operator)

Name

message_boxmessage_boxMessageBoxmessage_boxMessageBoxMessageBox — Zeigt eine Messagebox an.

Signatur

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)

Beschreibung

message_boxmessage_boxMessageBoxmessage_boxMessageBoxMessageBox zeigt eine Messagebox an.

Wenn DisplayButtonsDisplayButtonsDisplayButtonsDisplayButtonsDisplayButtonsdisplayButtons auf VarRef(“) oder VarRef([]) gesetzt wird, wird die Standard-Button-Konfiguration verwendet. Unter Windows ist dies der Button 'OK'.

Wenn IconNameIconNameIconNameIconNameIconNameiconName auf VarRef(“) oder VarRef([]) gesetzt wird, wird kein Icon angezeigt.

Mehr Informationen über das Notification Extension Package gibt es in der Einleitung zu diesem Kapitel.

Parallelisierung

Parameter

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

title

Defaultwert: 'title' "title" "title" "title" "title" "title"

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

message

Defaultwert: 'message' "message" "message" "message" "message" "message"

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

message

Defaultwert: 'ok' "ok" "ok" "ok" "ok" "ok"

Wertevorschläge: '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

Defaultwert: []

Wertevorschläge: '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

Wertevorschläge: '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"

Modul

Foundation


KlassenKlassenKlassenKlassen | | | | Operatoren