• 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: tracking area problems on 10.4.11
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: tracking area problems on 10.4.11


  • Subject: Re: tracking area problems on 10.4.11
  • From: Tony Becker <email@hidden>
  • Date: Wed, 02 Jul 2008 14:18:46 -0400

Change the owner: parameter from [mWindow contentView] to self, or whatever class instance has the enter/exit methods.

On Jul 2, 2008, at 2:10 PM, Wesley Smith wrote:

Hi Tony,
Thanks for the response.  I'm still not getting the trigger.  Based on
your advice, I changed the code to:

NSRect f = [mWindow frame];
	f.origin.x += 10.;
	f.origin.y += 10.;
	f.size.width -= 20.;
	f.size.height -= 20.;
	[[mWindow contentView] addTrackingRect:f
							owner:[mWindow contentView]
							userData:nil
							assumeInside:NO];

When I move or drag the mouse across the boundary, I get nothing.  Is
there example code online that anyone knows of that I could use to
start from a working project?

thanks again,
wes



Tony Becker
P:: 954-584-1909
C:: 954-612-9303
http://homepage.mac.com/aebecker
http://web.mac.com/aebecker
For a successful technology, reality must take precedence over public relations, for nature cannot be fooled.


-Dr. Richard P. Feynman









_______________________________________________

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: tracking area problems on 10.4.11
      • From: "Wesley Smith" <email@hidden>
References: 
 >tracking area problems on 10.4.11 (From: "Wesley Smith" <email@hidden>)
 >Re: tracking area problems on 10.4.11 (From: Tony Becker <email@hidden>)
 >Re: tracking area problems on 10.4.11 (From: "Wesley Smith" <email@hidden>)

  • Prev by Date: Re: tracking area problems on 10.4.11
  • Next by Date: Re: Disabling column selection NSTableView
  • Previous by thread: Re: tracking area problems on 10.4.11
  • Next by thread: Re: tracking area problems on 10.4.11
  • Index(es):
    • Date
    • Thread