Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
Re: maximize and new
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: maximize and new



-----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.

References: 
 >maximize and new (From: "Chong Hiu Pun" <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2011 Apple Inc. All rights reserved.