Home > Net >  Windows Toast Notification callback not being invoked
Windows Toast Notification callback not being invoked

Time:01-06

I managed to send Toast messages but once clicked, the callback is not invoked. This is the enter image description here

CodePudding user response:

Just on the name alone it seems to me like you need to set the PKEY_AppUserModel_ToastActivatorCLSID property on the .lnk and not just the AUMID.

MSDN says:

Used to CoCreate an INotificationActivationCallback interface to notify about toast activations.

This page is marked as pre-release but does have a different InstallShortcut function that sets this property.

  •  Tags:  
  • Related