Programmatically displaying NSStatusItem's menu
Programmatically displaying NSStatusItem's menu
- Subject: Programmatically displaying NSStatusItem's menu
- From: Adam Warski <email@hidden>
- Date: Thu, 28 May 2009 07:43:37 +0200
Hello,
I have a simple NSStatusItem with a menu (no custom views), just using
text as the title.
When I click on it, everything displays fine, however now I would like
to display it programmatically - in other words, simulate a mouse
click on the status item's text.
Currently I'm invoking "popUpStatusItemMenu", and this shows the menu,
but doesn't highlight the title.
How could I highlight the title? Or maybe there's a better way to
simulate the mouse click?
--
Thanks,
Adam
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden