• 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
NSButtonCell: NSChangeBackgroundCellMask not working as expected
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSButtonCell: NSChangeBackgroundCellMask not working as expected


  • Subject: NSButtonCell: NSChangeBackgroundCellMask not working as expected
  • From: David Hoerl <email@hidden>
  • Date: Tue, 14 Jun 2005 23:27:49 -0400

If you configure a NSButtonCell to display an image (setImage:), then you **should** be able to [myButtonCell setHighlightsBy : NSChangeBackgroundCellMask] to have the background highlight on a mouseDown, but the icon to remain unchanged.

What I find is that NSChangeBackgroundCellMask works just like NSContentsCellMask - only the background of the image changes. Other options like NSChangeGrayCellMask darken the background and image.

Anyone else seen this?

David

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Prev by Date: Resizing a WebView
  • Next by Date: Re: Edit Newly Inserted Row Via Bindings
  • Previous by thread: Re: Resizing a WebView
  • Next by thread: Missing dockMenu Outlet
  • Index(es):
    • Date
    • Thread