• 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: PGM <email@hidden>
  • Date: Sun, 17 Sep 2006 22:00:20 -0400

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
  • Follow-Ups:
    • Re: Temporarily Hide Window
      • From: "Nick Kreeger" <email@hidden>
References: 
 >Temporarily Hide Window (From: Shoaib Hannani <email@hidden>)

  • Prev by Date: Temporarily Hide Window
  • Next by Date: Using WebKit to display data that's not in HTML
  • Previous by thread: Temporarily Hide Window
  • Next by thread: Re: Temporarily Hide Window
  • Index(es):
    • Date
    • Thread