• 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: trackmouse problems in Leopard
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: trackmouse problems in Leopard


  • Subject: Re: trackmouse problems in Leopard
  • From: Andreas Mayer <email@hidden>
  • Date: Sat, 28 Jun 2008 18:28:24 +0200


Am 28.06.2008 um 15:24 Uhr schrieb Moray Taylor:

I have an app that uses a custom NSCell that implements the

- (BOOL)trackMouse:(NSEvent *)theEvent inRect:(NSRect)cellFrame ofView:(NSView *)controlView untilMouseUp:(BOOL)untilMouseUp

method.

In Tiger, this works just fine, if I build targeting the 10.5 API, it does not work, the method does not get called at all, I can put an NSLog right at the start, and it never happens.

Since I'm using this methods myself and it works in Leopard just as it did in Tiger for me, I guess we need to see more code to diagnose your problem.


Did you subclass some control or just a cell? How do you create and set the cell?


Andreas _______________________________________________

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: trackmouse problems in Leopard
      • From: Moray Taylor <email@hidden>
References: 
 >trackmouse problems in Leopard (From: Moray Taylor <email@hidden>)

  • Prev by Date: Re: while loop with sleep(): logging works, but not UI events
  • Next by Date: Re: How to deal with a MenuItem with both a binded state property and an action method
  • Previous by thread: trackmouse problems in Leopard
  • Next by thread: Re: trackmouse problems in Leopard
  • Index(es):
    • Date
    • Thread