• 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
Transparent Button in MenuBar
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Transparent Button in MenuBar


  • Subject: Transparent Button in MenuBar
  • From: Phil Larson <email@hidden>
  • Date: Tue, 22 Apr 2003 23:43:10 -0700

I would like to have the user be able to click on a number and it act like a button in my NSStatusItem so I overlaid a transparent continuous button over a NSTextField. This isn't working when it's in the menu bar, but it does work when the same (copy and pasted) elements are in a window. The button receives clicks around the text field, but not when I click directly on what appears to be the text (but is really a button that is on top of the text). Is there something different about how views receive mouse events when they are NSStatusItems?

Phil Larson
_______________________________________________
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.

References: 
 >Re: What's with these redundant methods ? (From: Scott Anguish <email@hidden>)

  • Prev by Date: Re: write to the console
  • Next by Date: Re: write to the console
  • Previous by thread: Re: What's with these redundant methods ?
  • Next by thread: -2856 error code
  • Index(es):
    • Date
    • Thread