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 protected]>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 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/steven.degutis%40gmail.com > > This email sent to [email protected] > -- Steven Degutis http://www.thoughtfultree.com/ http://www.degutis.org/ _______________________________________________ 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]
