Re: Setting parent window
Re: Setting parent window
- Subject: Re: Setting parent window
- From: Steven Degutis <email@hidden>
- Date: Fri, 26 Feb 2010 22:25:43 -0500
Hi Gaurav,
Welcome to Cocoa development! It's fun, and very rewarding. Regarding your
question, you really will want to avoid taking Windows design patterns (for
both development and user experience) into a Mac app. Not only is what
you're trying to accomplish not possible, but it's a really bad user
experience to have a modal window when one is not required. Please look into
reading Apple's documents called the Human Interface Guidelines, your users
(and fellow developers on this list) will really appreciate it.
-Steven
On Thu, Feb 25, 2010 at 7:38 PM, Gaurav Srivastava
<email@hidden>wrote:
> Is there any corresponding function call for ::SetParent(in Windows) in
> Cocoa?
> Basically I have a parent application from which I have to launch another
> application. I want the child application to open as modal within the
> parent
> application and not as a separate application.
> I have the window handles of both applications.
> I tried using [NSWindow setParentWindow] but this was not working for me.
>
> Is there any possible solution?
>
> --
> Gaurav Srivastava
> _______________________________________________
>
> 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
>
--
Steven Degutis
http://www.thoughtfultree.com/
http://www.degutis.org/
_______________________________________________
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