• 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
Overwriting NSTableHeaderCell to get context menus
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Overwriting NSTableHeaderCell to get context menus


  • Subject: Overwriting NSTableHeaderCell to get context menus
  • From: Martin Wilz <email@hidden>
  • Date: Thu, 22 Dec 2005 15:09:06 +0100

Hi,

I'd like to implement context menus for activating table column selection
like iTunes and xCode do.

I tried to subclass NSTableHeaderCells to override the rightMouseDown
and/or mouseDown, but do
not get events there. The header cells are exchanged at NSTableViews
viewDidMoveToSuperview.

As this seems to be the wrong approach, has anybody a better idea ?

Thanks in advance,
Martin
_______________________________________________
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

  • Follow-Ups:
    • Re: Overwriting NSTableHeaderCell to get context menus
      • From: Philip Dow <email@hidden>
  • Prev by Date: Re: Linking framework to PreferencesPane
  • Next by Date: Add a custom icon to my saved files
  • Previous by thread: Re: Linking framework to PreferencesPane
  • Next by thread: Re: Overwriting NSTableHeaderCell to get context menus
  • Index(es):
    • Date
    • Thread