Skip navigation.
 
mlRe: tracking area problems on 10.4.11
FROM : Wesley Smith
DATE : Wed Jul 02 20:10:33 2008

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

Related mailsAuthorDate
mltracking area problems on 10.4.11 Wesley Smith Jul 1, 23:29
mlRe: tracking area problems on 10.4.11 Tony Becker Jul 2, 19:21
mlRe: tracking area problems on 10.4.11 Wesley Smith Jul 2, 20:10
mlRe: tracking area problems on 10.4.11 Tony Becker Jul 2, 20:18
mlRe: tracking area problems on 10.4.11 Wesley Smith Jul 2, 20:21
mlRe: tracking area problems on 10.4.11 Michael Ash Jul 2, 20:43
mlRe: tracking area problems on 10.4.11 Wesley Smith Jul 2, 20:48
mlRE: tracking area problems on 10.4.11 Abernathy, Joshua Jul 3, 19:40
mlRe: tracking area problems on 10.4.11 John C. Randolph Jul 5, 06:14