Re: Views & Staying On Top / Accessing Across Apps
Re: Views & Staying On Top / Accessing Across Apps
- Subject: Re: Views & Staying On Top / Accessing Across Apps
- From: Jason Teagle <email@hidden>
- Date: Sat, 19 May 2012 20:29:41 +0100
- Organization: Organised Bytes Software
A view is always clipped to its parent, so such a view would have to be
a direct child of the window's contentView, and would have to be ordered
in front of its siblings. There might or might not be issues with the
sibling views redrawing correctly.
Having learned a bit more about how the visual classes fit together, I
realise now that NSView was the wrong class to ask about; I was thinking
of NSWindow. I realise now that NSView is fairly analogous to JPanel in
Java, and thus is not likely to be a top-level window within an app.
I'm doubtful this can be done; or at least, if it can, it would require
some very tricky hacking (i.e. injecting code into other apps.)
Definitely not a newbie project, I'm afraid.
Fair enough. I found some material after I asked the question that
hinted at an API for getting *some* sort of information about other
windows, but it didn't look promising - very basic stuff. I guess there
are also security concerns about cross-app access.
It was just an idea that floated across my mind (after experiencing some
'unhelpful' window issues in Xcode's environment) that would have helped
me - but I have too much still to learn to tackle something that bold,
so consider that idea shelved indefinitely.
Thanks for the reply.
--
Jason Teagle
_______________________________________________
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