0

I've successfully added a NSStatusItem to the menu bar, showing an regular NSMenu.

Is it possible to capture a hover event on this and in that case, display a different menu?

dhrm
  • 14,335
  • 34
  • 117
  • 183

1 Answers1

1

You need to create a new custom view, override method [NSView mouseEntered:] with [NSView addTrackingRect:...] and then set to the status item [NSStatusItem setView:]

toohtik
  • 1,892
  • 11
  • 27