• 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
Child Window Resize Cursors When Not Key
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Child Window Resize Cursors When Not Key


  • Subject: Child Window Resize Cursors When Not Key
  • From: Caylan Larson <email@hidden>
  • Date: Fri, 22 Nov 2013 09:36:47 -0600

Hi,

Is it possible to get resize cursors on a child NSWindow that is not key?

The only thing I can find on this topic is:
	http://www.cocoabuilder.com/archive/cocoa/209703-using-nstrackingarea-on-overlay-child-windows.html

"I did some experimenting and it appears the
updateCursor: message is only sent to the view if its window is key.
That's a problem in my case because the window is not and cannot
become key.”

When the child window is setup to return YES on canBecomeKeyWindow, I can click once and then the resize cursors are visible.  Anyone know a good way around this limitation?

I’m thinking I need to override the default tracking areas of the window to NSTrackingActiveInActiveApp.  But heck, this may be something outside of my app’s control.  Thoughts?

Caylan


_______________________________________________

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: Re: Implementing keyboard shortcuts for shifting focus
  • Next by Date: Sandbox and CIKernel
  • Previous by thread: Re: Why does NSDocument do this? [resolved]
  • Next by thread: Sandbox and CIKernel
  • Index(es):
    • Date
    • Thread