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

Re: Temporarily Hide Window


  • Subject: Re: Temporarily Hide Window
  • From: "Nick Kreeger" <email@hidden>
  • Date: Mon, 18 Sep 2006 14:32:43 -0500

You can also try the NSWindow method |orderOut:| ->

 [NSWindow orderOut:aSender];

- Nick

On 9/17/06, PGM <email@hidden> wrote:

Maybe you can use (typed in Mail):

        [window setAlphaValue:0.0];
        [[window attachedSheet] setAlphaValue:0.0];

Setting the alpha to zero makes the window also invisible to events,
if you want to make the window reappear just set the alpha back to
1.0 again.

Best, Patrick



On 17-Sep-06, at 21:17 PM, Shoaib Hannani wrote:

> I would like to temporarily "hide" a window that has a sheet
> showing, and then show it later in its  original state (with the
> sheet).
>
> If I just the close the window and then show it again, the sheet
> disappears and the window stops accepting keyboard events (mouse
> events continue to be accepted).
>
> I'd like to know if there's a way to do what I want. As always, any
> help is greatly appreciated.
>
> Thanks.
>
>
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Cocoa-dev mailing list      (email@hidden)
> Help/Unsubscribe/Update your Subscription:
> 40sympatico.ca
>
> This email sent to email@hidden

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >Temporarily Hide Window (From: Shoaib Hannani <email@hidden>)
 >Re: Temporarily Hide Window (From: PGM <email@hidden>)

  • Prev by Date: Re: Internal Compiler error: Bus error
  • Next by Date: Sliding a view into place?
  • Previous by thread: Re: Temporarily Hide Window
  • Next by thread: Using WebKit to display data that's not in HTML
  • Index(es):
    • Date
    • Thread