MessageBox (Opus Funktion)
Beschreibung¶
Diese Funktion erzeugt ein Popup Fenster, welches dem User eine Mitteilung anzeigt.
Argumente
| Name | Typ | Beschreibung |
|---|---|---|
| [string](../../standard-datentypen/string.md) | Meldung, die angezeigt werden soll. | |
| [string](../../standard-datentypen/string.md) | Titel der Nachricht | |
| [integer](../../standard-datentypen/integer.md) | | Buttons | Flag | MessageBox("Text1","Text2",0x000..) | | --- | --- | --- | | MB_OK | 0x00000000 |  | | MB_OKCANCEL | 0x00000001 |  | | MB_ABORTRETRYIGNORE | 0x00000002 |  | | MB_YESNOCANCEL | 0x00000003 |  | | MB_YESNO | 0x00000004 |  | | MB_RETRYCANCEL | 0x00000005 |  | | MB_CANCELTRYCONTINUE | 0x00000006 |  | | Icons | Summe mit Flag Buttons | z.B. 0x00000023 | | MB_ICONQUESTION | 0x00000020 |  | | MB_ICONEXCLAMATION | 0x00000030 |  | | MB_USERICON | 0x00000080 | ?? | | MB_ICONERROR | 0x00000010 |  | | MB_ICONINFORMATION | 0x00000040 |  | | Deault Buttons | Summe mit Flag Buttons | z.B. 0x0000103 | | MB_DEFBUTTON1 | 0x00000000 | 1. Button ist der Default Button | | MB_DEFBUTTON2 | 0x00000100 | 2. Button ist der Default Button | | MB_DEFBUTTON3 | 0x00000200 | 3. Button ist der Default Button  0x00000203 | | MB_DEFBUTTON4 | 0x00000300 | 4. Button ist der Default Button | | Weitere Eigenschaften | | | | MB_APPLMODAL | 0x00000000 | | | MB_SYSTEMMODAL | 0x00001000 | | | MB_TASKMODAL | 0x00002000 | | | MB_HELP | 0x00004000 | 0x00004103  | | MB_NOFOCUS | 0x00008000 | | | MB_SETFOREGROUND | 0x00010000 | | | MB_DEFAULT_DESKTOP_ONLY | 0x00020000 | | | MB_TOPMOST | 0x00040000 | | | MB_RIGHT | 0x00080000 | | |
Rückgabewert integer¶
| Button | integer |
|---|---|
![]() |
1 |
![]() |
2 |
![]() |
3 |
![]() |
4 |
![]() |
5 |
![]() |
6 |
![]() |
7 |
![]() |
9 |
![]() |
10 |
![]() |
11 |









