• 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: Mouse tracking an NSCell in my control
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Mouse tracking an NSCell in my control


  • Subject: Re: Mouse tracking an NSCell in my control
  • From: Aaron Burghardt <email@hidden>
  • Date: Tue, 24 Jun 2003 23:30:15 -0400

On Tuesday, June 24, 2003, at 10:40 PM, M. Uli Kusterer wrote:

> At 13:36 Uhr -0400 24.06.2003, Aaron Burghardt wrote:
>> [cell highlight:YES withFrame:frame inView:self];
>
> While this wasn't quite what I wanted, I was able to manually
> approximate the mouse tracking done on buttons in tables by adjusting
> this from my mouseDragged: method, thanks! If anyone knows how I'm
> really supposed to do this (what do NSTableView and NSControl do?),
> I'd still be interested, though, as I'd love to be able to work with
> other cells as well.

Yeah, I was just trying to illustrate the highlight: method. So you
solved it by turning highlighting on and off in the mouseDragged:
method, or did you do something different?

I love this line from the developer's doc on controls and cells:

"When users click on a control, it responds in part by sending
trackMouse:inRect:ofView:mouseUp: to the cell that was clicked. "

"In part?" So what else does it do :) To be fair, I assume it depends
on the type of cell, but an explicit example would have done you and me
a lot of good.
----
Aaron Burghardt
email@hidden
_______________________________________________
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: 
 >Re: Mouse tracking an NSCell in my control (From: "M. Uli Kusterer" <email@hidden>)

  • Prev by Date: Re: Xcode... - rendezvous + cluster
  • Next by Date: WebFrame does not respond to loadRequest: ?
  • Previous by thread: Re: Mouse tracking an NSCell in my control
  • Next by thread: Safari SDK
  • Index(es):
    • Date
    • Thread