The real application is more complicated than the sample code I pasted here.
My main window has several child windows, and some child windows may have their 
own child windows, and also some popup dialog window may have child window too.
Anyway, I will try and find other solutions, at the same time I will report 
this bug to apple.
Thank you Kyle.

On Mar 28, 2011, at 12:31 PM, Kyle Sluder wrote:

> On Sun, Mar 27, 2011 at 8:15 PM, Hui Shen <[email protected]> wrote:
>> To change all child windows to be direct children of a main window will not
>> meet my application's requirement.
> 
> I don't see how it fails to meet your needs… what does having a
> hierarchy of child windows get you? You can still control their Z
> order.
> 
> --Kyle Sluder

_______________________________________________

Cocoa-dev mailing list ([email protected])

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to