Child Window Resize Cursors When Not Key
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