Answer the question
In order to leave comments, you need to log in
Delphi notifications on windows 10 how to respond to a click?
I figured out how to create notifications on the new delphi in the windows notification center.
But the task arose of how to respond to user actions with these notifications, for example, clicking on a notification or on buttons ... in general, if I have 2 buttons there, then there are 3 options - a person clicked on the notification itself or on button 1 or on button 2
on the site delphi, here is an example:
procedure TNotificationsForm.NotificationCenter1ReceiveLocalNotification(Sender: TObject;
ANotification: TNotification);
begin
mmLog.Lines.Add('Notification received: ' + ANotification.Name); //Shows the name of the notification handled.
end;
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question