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

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


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

Never mind, I solved my problem.
Further more, I posted a simple sample code on my personal website.
You are welcome to take a look if you are interested.

http://home.earthlink.net/~tonyswu/computer/cocoa_sample.html

Tony S. Wu
email@hidden

"Nope, this world ain't perfect. But at least I know it's not because of
me."


Tony S. Wu at email@hidden wrote:

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

References: 
 >[Q]mouseDown: in TV (was Re: Menu when click on table cell) (From: "Tony S. Wu" <email@hidden>)

  • Prev by Date: Re: IntraApp communication....
  • Next by Date: Newbie: Exporting symbols - how?
  • Previous by thread: [Q]mouseDown: in TV (was Re: Menu when click on table cell)
  • Next by thread: .dsstore differences between 10.1.x and 2?
  • Index(es):
    • Date
    • Thread