Hi I'm wondering what the cleanest way to hide a toast from a IWinToastHandler derived class is. I would like to be able to hide toasts after a certain amount of time; I assume you do this with WinToastTemplate::setExpiration and then you handle the expiration with WinToastDismissalReason::TimedOut in the CustomWinToastHandler::toastDismissed overrride function. Also I would like to hide toasts after clicking buttons and clicking the toast itself and this obviously falls under the same coding technique as the first. Thanks!
Hi I'm wondering what the cleanest way to hide a toast from a IWinToastHandler derived class is. I would like to be able to hide toasts after a certain amount of time; I assume you do this with WinToastTemplate::setExpiration and then you handle the expiration with WinToastDismissalReason::TimedOut in the CustomWinToastHandler::toastDismissed overrride function. Also I would like to hide toasts after clicking buttons and clicking the toast itself and this obviously falls under the same coding technique as the first. Thanks!