Autor Beitrag
Christian V.
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 311

Win Xp Prof
Turbo Delphi 2005
BeitragVerfasst: Fr 11.03.05 20:46 
Hallo, ich möchte immer wenn ei Proramm auf dem Desktop erscheint eine bestimmte aktion ausführen. Muss ich da ein Message abfangen?
Und ich möchte das bei bestimmten Progs machen, nicht bei allen.

_________________
Hardware runs the world, software controls the hardware, code generates software - Have You already coded today?
EUOCheffe
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 124



BeitragVerfasst: Fr 11.03.05 21:27 
Guck dir mal die EnumWindows Funktion der WinAPI an. Damit kommst du an alle Window Handles aller Fenster heran. Die Handles kannst du dann z.B. für GetClassName und/oder GetWindowText verwenden. Jedesmal wenn du ein neues Fenster bearbeitet hast, kannst du dessen Handle in einer Liste speichern, damit es nicht noch einmal bearbeitet wird.
Christian V. Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 311

Win Xp Prof
Turbo Delphi 2005
BeitragVerfasst: Fr 11.03.05 21:32 
Nein das meine ich nicht, ich will dass meine Anwendung reagiert wenn ein Programm gestartet wird.

_________________
Hardware runs the world, software controls the hardware, code generates software - Have You already coded today?
Karlson
ontopic starontopic starontopic starontopic starontopic starofftopic starofftopic starofftopic star
Beiträge: 2088



BeitragVerfasst: Fr 11.03.05 22:52 
Suche in: Delphi-Forum, Delphi-Library HOOK it baby.