• 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: NSSlider's mouseDown implementation
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSSlider's mouseDown implementation


  • Subject: Re: NSSlider's mouseDown implementation
  • From: Sanford Selznick <email@hidden>
  • Date: Tue, 11 Jun 2002 08:45:46 -0700

At 8:14 AM -0500 6/11/02 email@hidden wrote:
Well if you are planning on using an NSMenu, or something with just text menu items, you should use NSStatusItem's setMenu message. In this case, you would forgo using the custom view entirely. On the other hand if you want to be more complicated and have a menu with something like a slider in it, then you will need to override NSView's mouseDown message. In your implementation, you will need to write your own event loop to handle the events. See the apple docs for more info on this and a good sample event loop to start with.
Thomas Marschall

Hi Thomas,

I am creating a custom view because I am dissatisfied with the way MacOS X renders the NSStatusItem icons. They are elevated by two pixels and get a drop shadow, which, for my purposes, just plain looks bad. :-) (Unless, of course, there is a way around this.)

Regarding your earlier message, I believe if you lower the Alpha Channel value you'll find that the racing stripes in the menubar don't get wiped away.

Thank you for your excellent assistance.

Best,
Sanford
_______________________________________________
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.

  • Prev by Date: Re: Current process
  • Next by Date: NSConnection returning nil proxy, problem solved.
  • Previous by thread: Re: NSSlider's mouseDown implementation
  • Next by thread: Newbie on printing views
  • Index(es):
    • Date
    • Thread