Re: Invalid window error for a status bar item popup
Re: Invalid window error for a status bar item popup
- Subject: Re: Invalid window error for a status bar item popup
- From: Jeffrey Mattox <email@hidden>
- Date: Tue, 18 Feb 2003 19:21:16 -0600
Andreas:
I have a status menu item that, when clicked, shows a popup menu via:
What about simply using NSStatusItem setMenu:?
Sigh. The menu titles are dynamic (determined at the time the status
bar item is clicked), so I have to build the menu then pop it up. If
I use setMenu, then I cannot intercept the mouse click prior to the
menu being displayed. Bummer. (BTW, I posted how to do this a last
week.)
No idea regarding your code though, sorry.
Thanks for the thought, anyway. :-)
Jeff
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.