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



BeitragVerfasst: Di 02.01.07 22:51 
Hallo!

Ich nutze bei einer meiner Anwendungen CoolTrayIcon und lasse damit das programm ins Tray minimieren. Durch einen hotkey erscheint Form2, die dann auch in der Taskbar angezeigt wird, allerdings NICHT aktiviert ist, was sie aber sein soll. Wie kann ich das erreichen??
Danke euch!

mfg
Jojo
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 02.01.07 22:53 
Geht Form2.SetFocus? Weiß grad nicht, ob TForm so eine Methode hat. :gruebel:

_________________
Pascal keeps your hand tied. C gives you enough rope to hang yourself. C++ gives you enough rope to shoot yourself in the foot
Jojojoxx Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 386



BeitragVerfasst: Di 02.01.07 23:02 
Ja, es gibt Form2.SetFocus, das bringt aber leider nichts :-(
auch bringtoFront geht nicht.

mfg

jojo
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 02.01.07 23:05 

_________________
Pascal keeps your hand tied. C gives you enough rope to hang yourself. C++ gives you enough rope to shoot yourself in the foot
Jojojoxx Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 386



BeitragVerfasst: Mi 03.01.07 12:09 
hi!

danke! Mit SetforgroundWindows(Form2.Handle) hats geklapppt! :-)
mfg

Jojo