Forum: GUI-Design mit VCL / FireMonkey / Common Controls
by v2afrank,
22. Nov 2022
Das wäre ja nicht das Problem, aber warum das das eigene Programm dann ein wm_activate bekommt war die Frage
Forum: GUI-Design mit VCL / FireMonkey / Common Controls
by v2afrank,
22. Nov 2022
Ich habe das Ganze noch einmal mit C# nachgebildet (das Gleiche Verhalten) und daraufhin hier folgendes gefunden
You should be using WM_SETFOCUS and WM_KILLFOCUS to determine if your window has the focus.
With regard to WM_ACTIVEATEAPP, both wParam (TRUE/FALSE) and lParam (thread id) are important to the interpretation of that message. Review the docs, which also state "The message is sent to...
Forum: GUI-Design mit VCL / FireMonkey / Common Controls
by v2afrank,
22. Nov 2022
Vielen Dank Euch beiden. Mit diesem Workaround funktioniert es. Ist aber interessant der Fehler.
Forum: GUI-Design mit VCL / FireMonkey / Common Controls
by v2afrank,
21. Nov 2022
Ich habe hier eine Anwendung die eigentlich offline gehen soll sobald Sie den Fokus verliert. Jetzt war ein Kollege am Schimpfen das es nicht so funktioniert und wir konnten es sogar relativ einfach nachbauen.
In meinem Fall war es Delphi 2006, aber es ist sicherlich auch interessant ob es bei anderen Delphi Versionen auch so ist.
Und zwar habe ich einfach ein ApplicationEvent objekt genommen...