Re: Temporarily Hide Window
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