Re: about Panels and windows
Re: about Panels and windows
- Subject: Re: about Panels and windows
- From: Nathan Day <email@hidden>
- Date: Fri, 26 Jul 2002 20:14:56 +0930
The usual way to handle floating windows is to have them hide when you
app is no longer front, if you don't want to do that you could perhaps
try switching floating on/off when you app changes form begin front.
On Friday, July 26, 2002, at 06:18 PM, Cristian Savu wrote:
Hy there,
I'm trying to add the following behaviour to my application and I
have no
success :
The app. has 1 window and several panels.
1. I want to always have the panels floating over the main window
(never to
be send behind it)
2. I want the panels to float ONLY over the main window (not over
another
applications windows)
The first one can be achieved with setFloatingPanel:YES, but in
this way,
the second one in not achieved anymore.
I also tried orderWindow:<<panel>> relativeTo:<<mainWnd>>; but the
relativity is not preserved when another window is ordered front.
Can anybody give me a clue ?
Do I have to manually reorder the panels every time the main window
receives / looses the front ?
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.