FROM : Abernathy, Joshua
DATE : Thu Jul 03 19:40:58 2008
Owner should be whoever responds to your tracking events. I really doubt
that's the contentView.
-----Original Message-----
From: cocoa-dev-bounces+jabernathy=burrislogistics.<email_removed>
[mailto:cocoa-dev-bounces+jabernathy=burrislogistics.<email_removed>
] On Behalf Of Wesley Smith
Sent: Wednesday, July 02, 2008 2:11 PM
To: Tony Becker
Cc: Cocoa mailing list
Subject: Re: tracking area problems on 10.4.11
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
_______________________________________________
Cocoa-dev mailing list (<email_removed>)
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:
http://lists.apple.com/mailman/options/cocoa-dev/<email_removed>
stics.com
This email sent to <email_removed>
DATE : Thu Jul 03 19:40:58 2008
Owner should be whoever responds to your tracking events. I really doubt
that's the contentView.
-----Original Message-----
From: cocoa-dev-bounces+jabernathy=burrislogistics.<email_removed>
[mailto:cocoa-dev-bounces+jabernathy=burrislogistics.<email_removed>
] On Behalf Of Wesley Smith
Sent: Wednesday, July 02, 2008 2:11 PM
To: Tony Becker
Cc: Cocoa mailing list
Subject: Re: tracking area problems on 10.4.11
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
_______________________________________________
Cocoa-dev mailing list (<email_removed>)
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:
http://lists.apple.com/mailman/options/cocoa-dev/<email_removed>
stics.com
This email sent to <email_removed>
| Related mails | Author | Date |
|---|---|---|
| Wesley Smith | Jul 1, 23:29 | |
| Tony Becker | Jul 2, 19:21 | |
| Wesley Smith | Jul 2, 20:10 | |
| Tony Becker | Jul 2, 20:18 | |
| Wesley Smith | Jul 2, 20:21 | |
| Michael Ash | Jul 2, 20:43 | |
| Wesley Smith | Jul 2, 20:48 | |
| Abernathy, Joshua | Jul 3, 19:40 | |
| John C. Randolph | Jul 5, 06:14 |






Cocoa mail archive

