How the heck do you tell if the otherButton was selected?
In the MyNSUserNotificationCenterDelegateMBS even handler for didActivateNotification I added the code below, but “NSUserNotificationActivationTypeAdditionalActionClicked
” never fires
Dim a As Integer = notification.activationType
dim m as string
System.DebugLog(notification.identifier)
Select case a
Case notification.NSUserNotificationActivationTypeNone
case notification.NSUserNotificationActivationTypeContentsClicked
m = " with click on contents"
Case notification.NSUserNotificationActivationTypeActionButtonClicked
m = " with click on action button"
Case notification.NSUserNotificationActivationTypeReplied
m = " replied"
Case notification.NSUserNotificationActivationTypeAdditionalActionClicked
m = " with click on Other button"
end Select
MainWindow.listbox1.AddRow "Activate: "+notification.Title+m