• 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
mouse down in table view without selecting the row
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

mouse down in table view without selecting the row


  • Subject: mouse down in table view without selecting the row
  • From: Mitchell Livingston <email@hidden>
  • Date: Tue, 22 Jan 2008 15:22:49 -0500

Hello,

I want to be able to have mouse down in a table view not hilight the cell in certain situations (specifically if there's a button there). I tried returning different values in the hittest method of the cell, but they all cause the cell to become selected. I also tried overriding the table view's mouseDown:, but I can't do mouse tracking in the cell without calling super's mouseDown:, which causes the cell to become selected as well. tableView:selectionIndexesForProposedSelection: seems to avoid hilighting the cell, but it also causes mouse tracking now to work.

Any help would be appreciated.

Cheers,
Mitch
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: mouse down in table view without selecting the row
      • From: "Hamish Allan" <email@hidden>
  • Prev by Date: Re: NSArrayController & NSTreeController default sort order
  • Next by Date: Connect to Server smb path containing :139 resets / kills Finder
  • Previous by thread: Re: Making a NSPanel immovable
  • Next by thread: Re: mouse down in table view without selecting the row
  • Index(es):
    • Date
    • Thread