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

Re: Custom control


  • Subject: Re: Custom control
  • From: David Remahl <email@hidden>
  • Date: Thu, 06 Jun 2002 17:44:33 +0200

I have a button matrix like this that I havent looked at for a year. Mail me
privately if you want a look..

/ David

> Instead of creating a custom control you could try using an NSMatix with
> three borderless buttons containing images of the three part of the
> control and set up to behave as a radio button group. You could even
> create a custom NSButtonCell subclasses that could change there appear
> depending on whether Mac OS X's appears was Blue or Graphite.
>
> On Thursday, June 6, 2002, at 11:00 PM, Thomas Davie wrote:
>
>> Hi,
>> I suspect that this question has been asked before, but I don't know
>> where the archives are (a pointer to them would be useful). But
>> anyway, you know the three way switch that the finder uses for
>> switching between icon, list and column views? Well, I was wondering
>> how I would go about creating one in cocoa. My first guess is to
>> subclass NSControl and overload all of the handling routines, but this
>> seems like a humungously long way around.
>> Is it down to me doing a hard slog through creating my own drawing
>> routines etc. or can I get it an easier way (using someone else's
>> class, or by doing something more sensible than I suggest).
>>
>> Thanks
>>
>> Bob
_______________________________________________
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.

References: 
 >Re: Custom control (From: Nathan Day <email@hidden>)

  • Prev by Date: Re: NSApp's currentEvent
  • Next by Date: Re: [ANN] AccessorGenerator
  • Previous by thread: Re: Custom control
  • Next by thread: Why does the memory increase?
  • Index(es):
    • Date
    • Thread