NSStatusItem & Focus
NSStatusItem & Focus
- Subject: NSStatusItem & Focus
- From: FlyMac <email@hidden>
- Date: Thu, 17 Apr 2003 13:19:15 +0200
Hi,
I'm getting a little problem using a NSStatusBar, or more precisely a
NSStatusItem. In order to catch mouse click posistions on my
NSStatusItem, I use a custom imageView (set using setView:) and catch
mouseDown:, this went okay without problems.
Now well, as for reading the doc I see it overrides the normal
behaviour, such as menu opening. I don't care about the menu, I don't
need one, but my problem is, when I click the statusItem, the current
window (any app or the Finder) gets desactivated which is a bit
annoying, it should behave as other status items.
I think I have to override something or force the view to refuse focus
or something like that, but I'm clueless, so any suggestions are
welcome, thanks in advance!
Best regards,
Kevin
_____________________________________________________________________
Envie de discuter en "live" avec vos amis ? Tilicharger MSN Messenger
http://www.ifrance.com/_reloc/m la 1hre messagerie instantanie de France
_______________________________________________
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.