Re: Open dialog at launch time
Re: Open dialog at launch time
- Subject: Re: Open dialog at launch time
- From: Uli Kusterer <email@hidden>
- Date: Thu, 13 Sep 2007 10:37:30 +0200
On 13.09.2007, at 04:40, 太田 憲男 wrote:
I'd like my app to show the Open dialog at launch time instead of
opening new document window.
Would you tell me how?
Register for an NSApplicationDidFinishLaunching notification and
send the same message as the "open" menu command is connected to to
the first responder at that time. You may also have to implement that
shouldOpenUntitledWindow: method (not 100% sure on the name) in your
delegate to suppress the creation of a new document at that time.
Cheers,
-- M. Uli Kusterer
http://www.zathras.de
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden