Autor Beitrag
Marco D.
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 2750

Windows Vista
Delphi 7, Delphi 2005 PE, PHP 4 + 5 (Notepad++), Java (Eclipse), XML, XML Schema, ABAP, ABAP OO
BeitragVerfasst: Di 08.03.05 18:32 
Gibt es einen Befehl für application oder für form1 mit der bewirkt wird dass das Programmfenster STÄNDIG im vordergrund bleibt und von keinem anderen Programm überdeckt wird?
IngoD7
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 629


D7
BeitragVerfasst: Di 08.03.05 18:43 
user profile iconKoller hat folgendes geschrieben:
Gibt es einen Befehl für application oder für form1 mit der bewirkt wird dass das Programmfenster STÄNDIG im vordergrund bleibt und von keinem anderen Programm überdeckt wird?

Hoffentlich nicht.
Stell dir vor, es gäbe so einen Befehl und mehrere Programme würden ihn benutzen ... :shock:
Harry Hunt
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 50



BeitragVerfasst: Di 08.03.05 18:47 
Setze die Eigenschaft FormStyle deines Formulars auf fsStayOnTop...
matze.de
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 576

Win95, Win98 SE, WinXp Prof SP2
D7P, D8P, FPC2.0
BeitragVerfasst: Di 08.03.05 19:07 
Immer ganz oben dürfte auch gehen, dann müsstest du nur alle prozesse, die ein fenster haben, durchgehen, deren Z-Order bekommen und dann dein programm, falls es nicht über dem prozess ist, darüberstellen.

mfg matze

_________________
si tacuisses, philosophus mansisses.
IngoD7
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 629


D7
BeitragVerfasst: Di 08.03.05 19:08 
user profile iconHarry Hunt hat folgendes geschrieben:
Setze die Eigenschaft FormStyle deines Formulars auf fsStayOnTop...
Das kommt seinem Wunsch wahrscheinlich am nächsten - trifft ihn aber auch nicht 100%-ig (Einschränkungen siehe Online-Hilfe).
matze.de
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 576

Win95, Win98 SE, WinXp Prof SP2
D7P, D8P, FPC2.0
BeitragVerfasst: Di 08.03.05 19:13 
ansonnsten nimm das:
ausblenden Delphi-Quelltext
1:
2:
3:
4:
5:
6:
7:
SetWindowPos(Handle,
        HWND_TOPMOST,
        Left,
        Top,
        Width,
        Height,
        SWP_NOACTIVATE or SWP_NOMOVE or SWP_NOSIZE);


mfg matze

_________________
si tacuisses, philosophus mansisses.
IngoD7
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 629


D7
BeitragVerfasst: Di 08.03.05 19:25 
Welche Lösung man auch auftischt - ein anderes Programm könnte es genauso machen. Eine Garantie, dass das eigene Programm ständig(! wie gefordert) oben bleibt, gibt es nicht.
matze.de
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 576

Win95, Win98 SE, WinXp Prof SP2
D7P, D8P, FPC2.0
BeitragVerfasst: Di 08.03.05 19:28 
ja doch durch eine schleife wie von mir oben beschrieben :D

mfg matze

_________________
si tacuisses, philosophus mansisses.
IngoD7
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 629


D7
BeitragVerfasst: Di 08.03.05 19:39 
user profile iconmatze.de hat folgendes geschrieben:
ja doch durch eine schleife wie von mir oben beschrieben :D
Und wenn ein anderes Programm es genauso macht? Schönes Geflacker gibt das ...
matze.de
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 576

Win95, Win98 SE, WinXp Prof SP2
D7P, D8P, FPC2.0
BeitragVerfasst: Di 08.03.05 19:53 
jup :mrgreen:

mfg matze

_________________
si tacuisses, philosophus mansisses.
MisterBum
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 107



BeitragVerfasst: Di 08.03.05 20:05 
Timer mit Application.BringtoFront jede Millisekunde :wink: