Re: NSSegmentedControl Display Bug?
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