Toast notification have a "close button" in the upper right corner.
Is there any way to either hide this button or to react to the user clicking it?
The use case is this: I want to reschedule a notification for the next day whenever a user reacts to the notification, even when closing it. In other words: the user cannot dismiss the notification forever.
The notification is scheduled from a background task which might not be running anymore when the notification is dismissed.
Copyright Notice:Content Author:「wmeyer」,Reproduced under the CC 4.0 BY-SA copyright license with a link to the original source and this disclaimer.
Link to original article:https://stackoverflow.com/questions/35634991/hide-close-button-in-a-scheduled-toast-notification-in-windows-10