Re: How to hide a window?
Re: How to hide a window?
- Subject: Re: How to hide a window?
- From: Stéphane Sudre <email@hidden>
- Date: Thu, 20 Sep 2001 18:00:11 +0200
On jeudi, septembre 20, 2001, at 05:01 PM, Eric Peyton wrote:
Windows don't hide, applications hide.
You can have a window that you specify as
- (void)setHidesOnDeactivate:(BOOL)flag;
- (BOOL)hidesOnDeactivate;
But windows themselves can't be "hidden", only applications can.
Since when ?
NSWindow class
orderOut:
- (void)orderOut:(id)sender
Takes the receiver out of the screen list. If the receiver is the key or
main window, the NSWindow immediately behind it is made key or main in
its place. Calling the orderOut: method causes the receiver to be
removed from the screen, but does not cause it to be released. See the
close method for information on when a window is released.