Child Window issues
Child Window issues
- Subject: Child Window issues
- From: Damien Cooke <email@hidden>
- Date: Sat, 6 Dec 2008 09:05:40 +1030
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