Einzelnen Beitrag anzeigen

Benutzerbild von Luckie
Luckie

Registriert seit: 29. Mai 2002
37.621 Beiträge
 
Delphi 2006 Professional
 
#4

Re: Botschaft Application Exit

  Alt 8. Okt 2008, 09:00
Zitat von stahli:
welche Botschaft erhält meine Application, wenn eine andere aktiviert wird?
Du meinst, wenn dein Fenster den Focus verliert?

Zitat von stahli:
Danke, hat aber leider nichts gebracht.
Ich werde mal das AC-Team anfragen...
Was heißt, "hat nichts gebracht"? Wie sieht denn dein Code aus? Du musst den wParam der Nachricht auswerten. Siehe dazu MSDN-Library durchsuchenWM_ACTIVATEAPP:
Zitat:
The WM_ACTIVATEAPP message is sent when a window belonging to a different application than the active window is about to be activated. The message is sent to the application whose window is being activated and to the application whose window is being deactivated.
[..]
wParam
Specifies whether the window is being activated or deactivated. This parameter is TRUE if the window is being activated; it is FALSE if the window is being deactivated.
Und wer ist das AC-Team?
Michael
Ein Teil meines Codes würde euch verunsichern.
  Mit Zitat antworten Zitat