> 
> Have you tried using [NSStatusItem setView:]?
> 

setView is for custom view.. Because if I dont  do a setView, the view Method 
return nil so far.  And looking at the doc it mentions that it is for custom 
view.

I am looking at something similar called MAAAttachedWindow class made by 
someone else. Seems like the way around is to actually use a custom view in a 
way. The developer seem to use the NSScreen and some other logic to figure out 
based  on where you click (so on the status item in the bar) and get the exact 
point of the click. Then he calculate where his custom view and window should 
be displayed. 

Thanks 

Emmanuel_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to