Delphi-PRAXiS

Delphi-PRAXiS (https://www.delphipraxis.net/forum.php)
-   Win32/Win64 API (native code) (https://www.delphipraxis.net/17-win32-win64-api-native-code/)
-   -   Application.MessageBox (https://www.delphipraxis.net/202316-application-messagebox.html)

Youuuu 19. Okt 2019 09:06

Application.MessageBox
 
Guten Morgen,

ist es möglich zu prüfen ob bereits eine MessageBox geöffnet ist (Application.MessageBox)?

Grüße

haentschman 19. Okt 2019 09:40

AW: Application.MessageBox
 
Moin...:P
Zitat:

Zitat: Eine MessageBox ist ein modaler Dialog. Punkt.
Heißt, daß du, während der Dialog geöffnet ist, nirgends prüfen kannst weil dein Code nicht abläuft. Wenn überhaupt, hast du nur die Möglichkeit vor dem Aufruf dir den Status zu merken.

Uwe Raabe 19. Okt 2019 13:00

AW: Application.MessageBox
 
Zitat:

Zitat von haentschman (Beitrag 1449931)
Heißt, daß du, während der Dialog geöffnet ist, nirgends prüfen kannst weil dein Code nicht abläuft.

Natürlich kann während eines modalen Dialogs oder eines Application.MessageBox dein Code qblaufen - z.B. der in einem Timer-Event.

Luckie 19. Okt 2019 13:03

AW: Application.MessageBox
 
Oder in einem zweiten Thread.


Alle Zeitangaben in WEZ +1. Es ist jetzt 09:54 Uhr.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024 by Thomas Breitkreuz