How to show an alert when I click on a menu item?
I have a windowless application and I’d like to show an alert message when the user clicks a button in the menu (it’s more complex than that, actually). I’ve tried the following code:
I have a windowless application and I’d like to show an alert message when the user clicks a button in the menu (it’s more complex than that, actually). I’ve tried the following code: