Delphi-PRAXiS

Delphi-PRAXiS (https://www.delphipraxis.net/forum.php)
-   Sonstige Fragen zu Delphi (https://www.delphipraxis.net/19-sonstige-fragen-zu-delphi/)
-   -   Delphi ShowMessage in Vordergrund bringen? (https://www.delphipraxis.net/5146-showmessage-vordergrund-bringen.html)

City Light 25. Mai 2003 17:29


ShowMessage in Vordergrund bringen?
 
Hallo

Ich hab mal wieder ein problem mit ShowMessage('') es kommt nicht in den Vordergrund meiner App ,meine Form ist auf fsStayOnTop eigestellt.

Gruß Tino

toms 25. Mai 2003 17:41

Hi!

Probier's mit einer MessageBox.

Bsp:

Code:
 MessageBox(Handle,'Messagebox','hallo...',MB_ICONSTOP + MB_APPLMODAL);

City Light 25. Mai 2003 17:45

Hi Toms

DANKE!!! :hello:

ich hab noch was gefunden ,damit gehts auch....
Delphi-Quellcode:
      with Application do
  begin
    NormalizeTopMosts;
    MessageBox('Hallo!', 'Look', MB_OK);
    RestoreTopMosts;
  end;
Noch mal's danke


Alle Zeitangaben in WEZ +1. Es ist jetzt 03:32 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