• 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
No mouseExited when switching windows
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

No mouseExited when switching windows


  • Subject: No mouseExited when switching windows
  • From: Steve Mills <email@hidden>
  • Date: Mon, 18 Feb 2013 16:34:52 -0600

If I set up an NSTrackingArea in my view as so:

NSTrackingArea*			trackingArea = [[NSTrackingArea alloc] initWithRect:box options:(NSTrackingInVisibleRect | NSTrackingMouseMoved | NSTrackingMouseEnteredAndExited | NSTrackingActiveInKeyWindow) owner:self userInfo:nil];

Shouldn't I get a mouseExited message when I switch windows via command-` if the mouse is still within my tracking area? If not, what do I have to do to be notified when the window the view is no longer the active window?

--
Steve Mills
office: 952-818-3871
home: 952-401-6255
cell: 612-803-6157



_______________________________________________

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: No mouseExited when switching windows
      • From: Kyle Sluder <email@hidden>
    • Re: No mouseExited when switching windows
      • From: Fritz Anderson <email@hidden>
  • Prev by Date: Re: Dynamic Creation
  • Next by Date: Re: No mouseExited when switching windows
  • Previous by thread: Proxies and Forwarding
  • Next by thread: Re: No mouseExited when switching windows
  • Index(es):
    • Date
    • Thread