Autor Beitrag
Jojojoxx
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 386



BeitragVerfasst: Fr 07.11.08 11:48 
Hallo!

Ich habe eine Form, die sich per Timer nach bestimmter Zeit selbstständig öffnet (Form.show).
Allerdings möchte ich nicht, dass diese Form anschließend des Fokus erhält, denn der soll dort bleiben wo er vorher war, d.h. die Form soll sich sozusagen "im hintergrund" öffnen ohne dass der Fokus von der aktuellen Position abweicht (auch bei komplett anderen Programmen).
Wie kann ich das erreichen?
Danke euch für die Hilfe!
mfg

Jojo
jaenicke
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 19346
Erhaltene Danke: 1754

W11 x64 (Chrome, Edge)
Delphi 12 Pro, C# (VS 2022), JS/HTML, Java (NB), PHP, Lazarus
BeitragVerfasst: Fr 07.11.08 11:56 
Die Diskussion hier geht zwar um ein den Fokus nicht verlieren in Bezug auf das besitzende Fenster, aber ich vermute, dass die Lösung bei dir ähnlich sein dürfte.
forums.microsoft.com...=318174&siteid=1
Das sieht in Delphi fast identisch aus, außer natürlich was die Syntax angeht, aber Beispiele zu CreateParams sollten zu finden sein.
Jojojoxx Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 386



BeitragVerfasst: Fr 07.11.08 13:06 
Ich werds mir mal ansehen!
Vielen Dank!