Skip to content

Cleanest Way to Hide Toast from IWinToastHandler #104

Description

@joshorenberg

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!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions