Autor Beitrag
Jebaz
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 44

Win NT 4, Win XP, Linux
Delphi 7.0
BeitragVerfasst: Mi 08.10.03 11:14 
Hallo zusammen,

ich bin inzwischen weissgott kein Anfänger mehr....und ich kenne auch die Events OnActivate, OnDeactivate und natürlich das FormProperty Active....

Aber das ist alles UNBRAUCHBAR!!

Das Property Active ist die ganze Laufzeit hinweg auf False (bei mir ists jedenfalls so) und das Event OnDeactivate kommt immer gleich vor dem Event Activate....bzw...es schaffts nie, meine globale Variable auf False zu setzen....

gibts eine Message von Windows, die ich abfangen kann? also ActivateMessage von Windows für mein eigenes Programm fang ich bereits ab, das ist mal ein Anfang...aber wie kann ich zum beispiel systemweit alle Activate-Messages abfangen...damit ich rausfinden kann...mhmm, war das jez ein klick auf mein Chat oder nicht? Das währe sicher eine Lösung die immer funktioniert...

Danke mal im voraus

_________________
...and You will Know us By the Trail of Death.....
Tana´Ri
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 230



BeitragVerfasst: Do 09.10.03 09:13 
also bei ist nicht nur inactive

Zitat:

Die Eigenschaft Active gibt an, ob das Formular den Fokus hat. [Eingabefocus]


ps: WM_KILLFOCUS ist die Message wenn du ihn verlierst (SDK read more) und umgekehrt WM_SETFOCUS

_________________
mfg
Tana´Ri
Jebaz Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 44

Win NT 4, Win XP, Linux
Delphi 7.0
BeitragVerfasst: Fr 10.10.03 08:46 
Titel: Wow
Ganz genial, also könnte ich jetzt eine globale Variable machen "bIsActive" und diese beiden Messages abfangen...juhuu das sollte funktionieren...schliesslich weiss Windows selbst am besten was aktiv ist und was nicht ;-)

Danke Vielmals

_________________
...and You will Know us By the Trail of Death.....