• 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
[Q]mouseDown: in TV (was Re: Menu when click on table cell)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Q]mouseDown: in TV (was Re: Menu when click on table cell)


  • Subject: [Q]mouseDown: in TV (was Re: Menu when click on table cell)
  • From: "Tony S. Wu" <email@hidden>
  • Date: Fri, 27 Sep 2002 09:29:45 -0700

Ok, I subclassed NSTableView and override two methods, mouseDown: and
rightMoustDown: so that the menu will appear when both mouse button are
pressed.
Also, I use mouse:inRect: to limit the menu to appear when certain column is
clicked.
But I have one more problem.
That is, the menu appear even if you click on the empty area.
Like, area with no rows.
I tried using clickedRow:, but it returned -1.
Is there a way to fix this?
Thanks.

Tony S. Wu
email@hidden

"Nope, this world ain't perfect. But at least I know it's not because of
me."
_______________________________________________
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: [Q]mouseDown: in TV (was Re: Menu when click on table cell)
      • From: "Tony S. Wu" <email@hidden>
References: 
 >Re: Menu when click on table cell (From: "Tony S. Wu" <email@hidden>)

  • Prev by Date: Re: detecting drag in table column ?
  • Next by Date: Re: Brain Fade with NSView layout
  • Previous by thread: Re: Menu when click on table cell
  • Next by thread: Re: [Q]mouseDown: in TV (was Re: Menu when click on table cell)
  • Index(es):
    • Date
    • Thread