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

Subclassing NSCell questions


  • Subject: Subclassing NSCell questions
  • From: Arthur VIGAN <email@hidden>
  • Date: Wed, 29 Oct 2003 17:52:47 +0100

Hi,

I have subclassed NSCell to create a custom control, but I have two questions:

- As I implement my own - (void)drawInteriorWithFrame:(NSRect)cellFrame inView:(NSView *)controlView, do I have to drawn the title of the control myself, or is there a way for it to be drown for me?

- I would like to have a menu appear when I click on the custom control, but without pressing the control key. Is it possible?

Thanks in advance,

-- Arthur
_______________________________________________
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.

  • Follow-Ups:
    • Re: Subclassing NSCell questions
      • From: "Alastair J.Houghton" <email@hidden>
  • Prev by Date: Re: WebKit headers?
  • Next by Date: Re: IB: TableColumn and NSButtonCell
  • Previous by thread: Re: WebKit headers?
  • Next by thread: Re: Subclassing NSCell questions
  • Index(es):
    • Date
    • Thread