• 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: NSSegmentedControl Display Bug?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSSegmentedControl Display Bug?


  • Subject: Re: NSSegmentedControl Display Bug?
  • From: Todd Yandell <email@hidden>
  • Date: Wed, 3 Aug 2005 19:52:26 -0500

You're using undocumented calls (_setSegmentCellStyle:).

This is one of the many reasons you shouldn't use undocumented calls - they may not exist (or work different) between different OS versions.

Undocumented calls - just say no.

He's right, it's completely undocumented, and like I said, a hack. I don't have Panther on any of my Mac's right now, so I didn't test it there. However, I don't see any real reason to use it on Panther? The reason I used it was because of a bug with the unified toolbar look. Segmented controls should work fine on a toolbar in Panther since it doesn't have unified toolbars.


If you're trying to use it to change the look of the control, then you should use the other code that was posted instead. Mine is really just to work around the bug in unified toolbars. The other code should work in Panther and up (Jaguar didn't have segmented controls, I believe).

Todd
_______________________________________________
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


References: 
 >Re: NSSegmentedControl Display Bug? (From: Philip Dow <email@hidden>)
 >Re: NSSegmentedControl Display Bug? (From: glenn andreas <email@hidden>)

  • Prev by Date: Re: NSOutlineView and NSTreeController
  • Next by Date: Re: Random number generator
  • Previous by thread: Re: NSSegmentedControl Display Bug?
  • Next by thread: Compositing an image on a NSButtonCell subclass ?
  • Index(es):
    • Date
    • Thread