• 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
Setting parent window
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Setting parent window


  • Subject: Setting parent window
  • From: Gaurav Srivastava <email@hidden>
  • Date: Fri, 26 Feb 2010 06:08:44 +0530

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

  • Follow-Ups:
    • Re: Setting parent window
      • From: Steven Degutis <email@hidden>
    • Re: Setting parent window
      • From: Eric Schlegel <email@hidden>
  • Prev by Date: Embedding Custom NSView in NSScroller having strange effect on drawRect calls.
  • Next by Date: [Moderator] List Guidelines
  • Previous by thread: Re: Embedding Custom NSView in NSScroller having strange effect on drawRect calls.
  • Next by thread: Re: Setting parent window
  • Index(es):
    • Date
    • Thread