Delphi-PRAXiS
Seite 2 von 2     12   

Delphi-PRAXiS (https://www.delphipraxis.net/forum.php)
-   GUI-Design mit VCL / FireMonkey / Common Controls (https://www.delphipraxis.net/18-gui-design-mit-vcl-firemonkey-common-controls/)
-   -   Delphi MessageDLG rutscht nach hinten! (https://www.delphipraxis.net/104557-messagedlg-rutscht-nach-hinten.html)

Luckie 14. Dez 2007 16:44

Re: MessageDLG rutscht nach hinten!
 
es gibt noch de Flag MB_APPLMODAL, Siehe MSDN dazu:
Zitat:

The user must respond to the message box before continuing work in the window identified by the hWnd parameter. However, the user can move to the windows of other threads and work in those windows.
Depending on the hierarchy of windows in the application, the user may be able to move to other windows within the thread. All child windows of the parent of the message box are automatically disabled, but pop-up windows are not.

MB_APPLMODAL is the default if neither MB_SYSTEMMODAL nor MB_TASKMODAL is specified.

whiteF 2. Jul 2016 15:34

AW: MessageDLG rutscht nach hinten!
 
hi, dieser thread ist zwar schon älter, aber ich bin heute auch auf das problem gestoßen das mein dialog hinter vielen anderen fenstern erschienen ist.
Bei mir liegt es höchstwahrscheinlich daran, dass meine mainform "gehided" ist und mein programm eigentlich nur aus einem trayicon besteht... d.h. es ist keine form sichtbar und nicht auf der taskleiste. höchstwahrscheinlich schaut dialog an welcher position die aufrufende form ist und setzt sich oben drauf ( position + 1 davor). bei mir wird sie jedoch nicht angezeigt.

ich habe das problem auch mit "MB_SETFOREGROUND or MB_SYSTEMMODAL" umgehen können.

VG

himitsu 4. Jul 2016 09:56

AW: MessageDLG rutscht nach hinten!
 
Ein "nicht aktives" Progamm macht sich nunmal standardmäßig nicht selber aktiv.

Das heißt, da dein Programm im Hintergrund liegt, macht Windows dessen Dialoge auch im Hintergrund auf.


Alle Zeitangaben in WEZ +1. Es ist jetzt 04:16 Uhr.
Seite 2 von 2     12   

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