• 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
mouse tracking outside a window & dock tracking area
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

mouse tracking outside a window & dock tracking area


  • Subject: mouse tracking outside a window & dock tracking area
  • From: edward m taffel <email@hidden>
  • Date: Tue, 22 Apr 2014 10:50:45 -0400

during mouse tracking it is often convenient to register movement outside view bounds. unfortunately, if the cursor is set to other than arrow, movement outside the bottom of a window may enter the dock’s tracking area causing the cursor to change to arrow for the duration of the loop. it is possible to inhibit the dock’s tracking area in the regular case w/ a setPresentationOptions bracket, e.g.

	NSApplication* a_= [NSApplication sharedApplication];
	NSApplicationPresentationOptions pre_opt= [a_ presentationOptions];

	[a_ setPresentationOptions:NSApplicationPresentationHideDock];
	// ... tracking code
	[a_ setPresentationOptions:pre_opt];

however, this has no effect in full screen mode—the cursor is still set to arrow.

does anyone (else) feel setPresentationOptions:NSApplicationPresentationHideDock should obtain equal result for both modes? in particular, why is this setting ignored in full screen? does anyone have a workaround?



_______________________________________________

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


  • Prev by Date: [MEET] Toronto CocoaHeads / tacow - May 13
  • Next by Date: Memory Leaks and ARC
  • Previous by thread: [MEET] Toronto CocoaHeads / tacow - May 13
  • Next by thread: Memory Leaks and ARC
  • Index(es):
    • Date
    • Thread