• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Setting parent window
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >Setting parent window (From: Gaurav Srivastava <email@hidden>)

  • Prev by Date: Re: Improving the User Experience for First Use of Downloadable Software
  • Next by Date: UITableView Won't Update; Crashes with EXC_BAD_ACCESS
  • Previous by thread: Setting parent window
  • Next by thread: [Moderator] List Guidelines
  • Index(es):
    • Date
    • Thread