Autor Beitrag
masteroffinalfantasy
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 82

Win XP
Delphi 2005 Architect
BeitragVerfasst: Mo 06.08.07 21:15 
Glück auf!

Mir möchte partout nicht einfallen, wie man nochmal prüfen konnte ob z.B. das notepad (notepad.exe) gerade im Vordergrund ist...

Wär nice wenn jemand mir auf die Sprünge helfen könnte :)

greetz


Moderiert von user profile iconChristian S.: Topic aus Delphi Language (Object-Pascal) / CLX verschoben am Mo 06.08.2007 um 23:01
Luckie
Ehemaliges Mitglied
Erhaltene Danke: 1



BeitragVerfasst: Mo 06.08.07 22:33 
GetForegroundWindow und dann guckn, ob das zurückgelieferte Handle zu dem Fenster passt mittels FindWindow.
masteroffinalfantasy Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 82

Win XP
Delphi 2005 Architect
BeitragVerfasst: Mo 06.08.07 22:49 
danke dir :)