Re: maximize and new
Re: maximize and new
- Subject: Re: maximize and new
- From: Hasan Diwan <email@hidden>
- Date: Tue, 30 Jul 2002 01:18:37 -0400
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Pun:
1. [[[NSApplication sharedApplication] mainWindow] performZoom]; looks
like it will do what you want.
2.
If it's a document-based application, do:
[[NSDocumentController sharedDocumentController] newDocument:nil];
If it's not document based, try:
[[NSWindowController sharedWindowController] showWindow:nil];
Let me know how it works out. Thanks!
On Tuesday, July 30, 2002, at 04:04 AM, Chong Hiu Pun wrote:
1.) If my application is mimized, which command can maximize it again?
2.)If my application is closed (but not quit), which command can launch
it
again?
Thanks!
_______________________________________________
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.
Hasan Diwan
OpenPGP KeyID: 0xBE42DCA6
Fingerprint: 1CB0 47E3 0A24 DAC1 DCCA 4225 F166 40C2 BE42 DCA6
http://hasandiwan.net/~hdiwan/gpg.key
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (Darwin)
iD8DBQE9RiG08WZAwr5C3KYRAnkiAJsEYZox0COPlYZbg5jVIRl7EMA+nACfQkrF
55M1tZrCIMvUx6WEECbA5O0=
=bHHn
-----END PGP SIGNATURE-----
_______________________________________________
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.