Re: NSStatusItem: window instead of menu
Re: NSStatusItem: window instead of menu
- Subject: Re: NSStatusItem: window instead of menu
- From: Daniel Jalkut <email@hidden>
- Date: Wed, 8 Jun 2005 10:31:48 -0400
I don't have my similar code handy, but I think you can determine a
precise location for the window based on the global coordinates of
status item's view itself.
Daniel
On Jun 7, 2005, at 8:34 PM, Rakka wrote:
Hi,
Thanks for replying. How would I make the window display where the
StatusItem is?
Thanks again.
Rakka
On 07/06/2005, at 11:57 PM, Daniel Jalkut wrote:
Hi Rakka - you need to set a custom view on the NSStatusItem. In
your custom view, in repsonse to a mouse click, you can display a
window instead of a menu.
The default NSStatusItem view is (as far as I know) only set up to do
menus.
Daniel
On Jun 7, 2005, at 3:18 AM, Rakka wrote:
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden