but they are already assigned to .. the first responder I think. And
they are disabled menu items too .. what enables them?
On Apr 16, 2008, at 5:26 PM, Ramón Medrano Llamas wrote:
It's easy, you must assign in Interface Builder an action to those
menu items that do the tasks you want.
2008/4/16, Roland King <[EMAIL PROTECTED]>:
First post. I've been dragging my way through the Cocoa
documentation and trying some simple apps. I started with non-
document apps and of course you still get the File menu, but most of
it's disabled. I understand that when you create a document-based
app (and I have a lot more reading to do there) those menu items are
enabled and you get the file browser etc for free.
I was trying to figure out if it's possible to enable and use the
file save and open even on a non-document-based app, eg assume some
stupidly simple app which just lets you 'open' any file you like and
gives you information about it in a window. I haven't been able to
understand what's driving those menu items, what's enabling and
disabling them in the Document-based app which isn't there in a non-
document-based one and what methods I'd need to supply if I wanted
to add that kind of support.
Is there an example out there somewhere of a non-document-based app
which uses some or all of the file menu items, or a piece of API
documentation I haven't found which explains it? Or is this just
something you just don't do .. if you want to use File menu stuff at
all .. you make a document-based app?
Thanks
_______________________________________________
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
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:
http://lists.apple.com/mailman/options/cocoa-dev/ramon%40ramonmedrano.es
This email sent to [EMAIL PROTECTED]
--
Ramón Medrano Llamas
Coordinador de eventos & Webmaster
EUITIO Mac's Users & Developers
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]
http://ramonmedrano.es/
Advertencia Legal:
Este correo electrónico es confidencial y no se autoriza su uso,
revelación, distribución, impresión o copia.
Este mensaje de correo electrónico y sus documentos adjuntos están
dirigidos exclusivamente a los destinatarios especificados.
La información contenida puede ser confidencial y/o estar legalmente
protegida.
Si Usted recibe este mensaje por error, por favor comuníqueselo
inmediatamente al remitente y elimínelo ya que usted no está
autorizado al uso, revelación, distribución, impresión o copia de
toda o alguna parte de la información contenida.
_______________________________________________
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com
This email sent to [EMAIL PROTECTED]