• 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: Matthew Lindfield Seager <email@hidden>
  • Date: Sat, 27 Feb 2010 10:00:21 +1100

Eric Schlegel  wrote:
> Mac OS X does not support window child/parent relationships across processes, so I think this approach isn't going to work for you.

Eric is completely right but I'm wondering if the OP is saying what he
means and meaning what he says...

Gaurav Srivastava wrote:
> 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.

Do you mean window or application? Your reference to Windows (capital
W) makes me wonder.

If you meant what you said Eric's answer is correct. If you just want
a separate window (from the same NIB/XIB or a different one) to be
shown modally then that is simple. This should get you started:
http://developer.apple.com/mac/library/documentation/cocoa/conceptual/WinPanel/Concepts/UsingModalWindows.html

If that is what you meant you should also read some intro guides on
Aqua & Cocoa... It's very different to Windows & most Mac users will
notice if you try to do things the Windows way... Apologies if you
know all this & I'm insulting your intelligence!

Matt
_______________________________________________

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>)
 >Re: Setting parent window (From: Eric Schlegel <email@hidden>)

  • Prev by Date: Re: Improving the User Experience for First Use of Downloadable Software
  • Next by Date: RE: Is there any Cocoa API (or other way) to determine if an application is running in a VNC or ARD session?
  • Previous by thread: Re: Setting parent window
  • Next by thread: Re: Setting parent window
  • Index(es):
    • Date
    • Thread