Re: turning on the 'Open Recent' attribute for an NSMenuItem
Re: turning on the 'Open Recent' attribute for an NSMenuItem
- Subject: Re: turning on the 'Open Recent' attribute for an NSMenuItem
- From: SA Dev <email@hidden>
- Date: Wed, 6 Jul 2005 14:58:54 -0400
Lindsey:
I'm not sure I understand the problem. Did you delete the original
Open Recent menu that was in the MainMenu.nib's menu? If so, create a
new nib and copy the menu for a quick fix. If there's more to the
problem, please elaborate.
On Jul 6, 2005, at 2:53 PM, Lindsey Spratt wrote:
I am trying to create an 'Open Recent' menu item so that the
NSDocumentController will recognize it and auto-update its submenu
(as it does for the 'Open Recent' menu item created by default in a
document-based app project). There does not appear to be any
documentation (in Panther) on how to set this attribute. I found a
discussion at http://developer.apple.com/qa/qa2001/qa1289.html that
indicates that the 'Open Recent' menu item should have an action of
@selector(openDocument:) and a target of nil. However, this does
not appear to be adequate: opening a document in my app (XGP) with
this setup does not register in the 'Open Recent' submenu.
Thanks,
Lindsey
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40silentalcove.net
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden