Re: Child Window issues
Re: Child Window issues
- Subject: Re: Child Window issues
- From: Damien Cooke <email@hidden>
- Date: Mon, 8 Dec 2008 14:00:10 +1030
Hi All I resolved this by using:
[window setLevel: NSWindowLevel];
I hope this helps someone else out there.
Damien
On 06/12/2008, at 9:05 AM, Damien Cooke wrote:
Hi all,
In my application I have a main window with a few controls and 4
child windows each contain an image.
When I maximise one of the child windows to full screen (depending
on which one) one or more of the other three stay in front. This is
clearly a window order issue. Is there a way of creating them at
the same level? I do not seem to be having any luck using orderFront
or orderBack. Can someone point me in the right direction?
I create the window like this:
oneOfFourWindow = [[DCOMediaViewer alloc]
initWithContentRect:oneOfOneImageRectClosed
styleMask:NSTitledWindowMask|NSResizableWindowMask
backing:NSBackingStoreBuffered defer:YES];
and set the child status like this
[appWindow addChildWindow:oneOfFourWindow ordered:NSWindowAbove];
Regards
Damien
"We act as though comfort and luxury were the chief requirements of
life, when all that we need to make us happy is something to be
enthusiastic about."
-- Albert Einstein
_______________________________________________
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
If you can't be kind, at least have the decency to be vague.
_______________________________________________
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