• 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: Displaying sheet when window first appears.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Displaying sheet when window first appears.


  • Subject: Re: Displaying sheet when window first appears.
  • From: Julian Barkway <email@hidden>
  • Date: Mon, 23 Sep 2002 02:04:51 -0700 (PDT)

On Monday, Sep 23, 2002, at 09:49AM, Oscar Morales Vivs <email@hidden> wrote:

>I believe this has been already commented in this mailing list, but I
>was unable to find it in the archives, so please don't flame :)
>
>I want to put a sheet on a window the first time it appears on the
>screen. However, I haven't found the right place to do so, as init is
>far too early and awakeFromNib seems to be called before the window is
>displayed, leaving a "floating sheet" on a window of its own.
>
>There's a number of probably workable approaches I can take into making
>it work, but I'd like a more informed opinion on the best way to
>accomplish that. Any help will be appreciated.
>
>Thanks in advance:
>
>Oscar Morales.

I put up a sheet straight after invoking makeKeyAndOrderFront:, which
seems to work fine. However, I'm sure there are other ways of doing this.

--
Julian Barkway,
Zurich,
Switzerland.
_______________________________________________
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.

  • Prev by Date: RE: NSPopUpButton disabled items won't stay disabled
  • Next by Date: Resign key for a non-activating floating utility panel in BG app?
  • Previous by thread: Re: Displaying sheet when window first appears.
  • Next by thread: RE: NSPopUpButton disabled items won't stay disabled
  • Index(es):
    • Date
    • Thread