• 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: Window group hierarchy
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Window group hierarchy


  • Subject: Re: Window group hierarchy
  • From: Finlay Dobbie <email@hidden>
  • Date: Mon, 5 May 2003 16:56:41 +0100

On Monday, May 5, 2003, at 03:44 pm, Eric Schlegel wrote:

I am trying to create a two-level window hierarchy in my application - normal windows and top-level windows. I do not want to have floating panels, because that works on a system level. I want to have hierarchy just within my application. So I thought I would achieve that with window groups. But nothing happens - windows from normal level, when clicked, move in front of top level windows...

The WindowGroup API only works in Carbon applications; it doesn't work in Cocoa apps. The implementation requires that the Carbon Window Manager be in control of window z-ordering, so that it can properly position a window considering its window group relative to other windows. In a Cocoa app, the Carbon Window Manager is not running.

There is something similar, though, isn't there? Never used either, so I can't be sure :-)

#if MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_2
- (void)addChildWindow:(NSWindow *)childWin ordered:(NSWindowOrderingMode)place;
- (void)removeChildWindow:(NSWindow *)childWin;
- (NSArray *)childWindows;

- (NSWindow *)parentWindow;
- (void)setParentWindow:(NSWindow *)window;
#endif

-- Finlay
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: Window group hierarchy
      • From: Tom Sutcliffe <email@hidden>
References: 
 >Re: Window group hierarchy (From: Eric Schlegel <email@hidden>)

  • Prev by Date: Re: Window group hierarchy
  • Next by Date: Re: Disk Image Volumes
  • Previous by thread: Re: Window group hierarchy
  • Next by thread: Re: Window group hierarchy
  • Index(es):
    • Date
    • Thread