Is there a way in Cocoa to receive a notification (or something similar) when the menu bar becomes hidden or visible? I tried looking around and have not found any information on this topic.
Thanks
I solved this by using Carbon's menu event handlers.
I registered for events kEventMenuBarHidden
and kEventMenuBarShown
under the class kEventClassMenu
.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With