• 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 selectively not select the cell
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

mouse down selectively not select the cell


  • Subject: mouse down selectively not select the cell
  • From: Mitchell Livingston <email@hidden>
  • Date: Tue, 01 Jul 2008 11:38:50 -0400

Hello,

I have an outline view that consists of custom-drawn cells, where I have images representing buttons. I want a left click on the buttons to not change the selected cells but still perform mouse tracking (I use hitTestForEvent:inRect:ofView: to determine if it should track); a mouse down anywhere else would not perform mouse tracking and would change the selection. I went through all the possible return values for the hit test method, but the only one that doesn't select the cell (NSCellHitNone) also causes tracking to not perform. Is there a straightforward way to do this?

Thanks,
Mitchell Livingston
_______________________________________________

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


  • Prev by Date: Re: OpenStreetMap GPS/Map Viewer
  • Next by Date: Re: exec(uting) Safari - How (newbie)
  • Previous by thread: Re: OpenStreetMap GPS/Map Viewer
  • Next by thread: How to make the FileOwner of a nib file accessible globally in whole project
  • Index(es):
    • Date
    • Thread