• 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 drawing
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSButtonCell drawing


  • Subject: NSButtonCell drawing
  • From: Björn Carlström <email@hidden>
  • Date: Fri, 26 Mar 2004 08:57:04 +0100

Hi All
This is my second post. I'm having a difficulty to get a NSButtonCell to draw correctly in my custom view. Its always drawn as if its state is off. No checkmark in an NSSwitchButton even though its state is NSStateOn, the arrow of NSDisclosureBezelStyle OnOff button always pointing to the right, etc. Also there is no highlighting when the button is pressed, but tracking of the mouse works fine.

Has anybody any experience with drawing NSCells in a custom view that could help me get this right?

best
Bjvrn Carlstrvm
_______________________________________________
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: controls not rendered, sometimes
  • Next by Date: Presetting instance variables when nib-loading
  • Previous by thread: Re: controls not rendered, sometimes
  • Next by thread: Presetting instance variables when nib-loading
  • Index(es):
    • Date
    • Thread