• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Highlighting NSView used in NSStatusItem
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Highlighting NSView used in NSStatusItem


  • Subject: Re: Highlighting NSView used in NSStatusItem
  • From: Apparao <email@hidden>
  • Date: Fri, 12 Oct 2007 09:31:30 +0530

someone has any pointers,

Your custom view is responsible for drawing itself and providing its own behaviors, such as processing mouse clicks and sending action messages.

Override the NSResponder's - (void)mouseDown:(NSEvent *)theEvent and provide the necessary behavior.

- Apparao.

On Oct 12, 2007, at 8:40 AM, Lorenzo Thurman wrote:

I've figured out how to get my menu working when using an NSView in an NSStatusItem, but I can't figure out how to get the view to highlight when clicked. Yes, I've checked the archives and google, but I can't find anything like what I'm doing. So if someone has any pointers, I'd appreciate it thanks.

"Human beings are the only creatures that allow their children to come back home."
--Bill Cosby


Lorenzo Thurman
email@hidden



_______________________________________________

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:
40effigent.net


This email sent to email@hidden


_______________________________________________

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


References: 
 >Highlighting NSView used in NSStatusItem (From: Lorenzo Thurman <email@hidden>)

  • Prev by Date: Highlighting NSView used in NSStatusItem
  • Next by Date: Core Data: Cross-model relationships
  • Previous by thread: Highlighting NSView used in NSStatusItem
  • Next by thread: Re: Highlighting NSView used in NSStatusItem
  • Index(es):
    • Date
    • Thread