Einzelnen Beitrag anzeigen

Kirchi

Registriert seit: 20. Feb 2006
105 Beiträge
 
Delphi 10.4 Sydney
 
#1

Win 10 Notification wird als Balloon angezeigt, aber nicht im Notification Center

  Alt 13. Jul 2018, 10:24
Hallo,

ich teste gerade unter Win 10 die Benachrichtigung mit dem Notification Center. Ich hab eine Nachricht erstellt, aber diese wird nur kurz als Ballon angezeigt, bleibt aber nicht im NotificationCenter bestehen. Auch beim Beispiel Code von Embarcadero ist das so.

Code:
procedure TNotificationsForm.btnShowClick(Sender: TObject);
var
  MyNotification: TNotification;
begin
  MyNotification := NotificationCenter1.CreateNotification;
  try
    MyNotification.Name := 'Windows10Notification';
    MyNotification.Title := 'Windows 10 Notification #1';
    MyNotification.AlertBody := 'RAD Studio 10 Seattle';

    NotificationCenter1.PresentNotification(MyNotification);
  finally
    MyNotification.Free;
  end;
end;

Wie kann ich es realisieren, dass meine Benachrichtigung wie z.B. das angehängte Java Update im Notification Center angezeigt wird.
Miniaturansicht angehängter Grafiken
notficationcenter.jpeg  
  Mit Zitat antworten Zitat