Re: file - open recent
Re: file - open recent
- Subject: Re: file - open recent
- From: Mark Piccirelli <email@hidden>
- Date: Wed, 12 Sep 2001 11:34:37 -0700
Robert --
If your app is NSDocument-based, all of this should be taken care of for
you. If not, check out the documentation for:
-[NSDocumentController noteNewRecentDocumentURL:], which you can call to
add items to the Open Recent menu.
NSApplication's -application:openFile: delegate method, which will be
invoked when the user selects an item in the Open Recent menu, if you've
provided an app delegate that implements this method.
-- Mark
On Tuesday, September 11, 2001, at 07:17 PM, Robert Goldsmith wrote:
IB seems to treat the file - open recent submenu as a special menu, not
a normal submenu. However, items are not added to it automatically when
the user selects files to open. Do I add these entries myself just like
any normal menu item and if so, how do I then pick up what the user has
clicked on? If not, how do I add files to this list?